homepage/docker-compose.yaml
2022-12-26 04:36:19 +00:00

67 lines
1.6 KiB
YAML

version: '3'
services:
traefik:
image: "docker.io/traefik:latest"
container_name: "traefik"
hostname: traefik
networks:
- lab-net
restart: always
expose:
- "80"
- "443"
- "8080"
command:
- "--configFile=/etc/traefik/dynamic/traefik.yaml"
ports:
- 80:80
- 443:443
- 8080:8080
volumes:
- "./config/traefik/traefik.yaml:/etc/traefik/dynamic/traefik.yaml"
- "./config/traefik/router.yaml:/etc/traefik/dynamic/conf/router.yaml"
- "./volumes/traefik/letsencrypt:/letsencrypt"
- "./volumes/traefik/cert/:/certs/"
labels:
- "traefik.enable=true"
iot-web-server:
hostname: iot-web-server
build: ./webserver
image: iot-web-server/v0.1
networks:
- lab-net
container_name: iot-web-server
restart: always
volumes:
- "/home/sjkoh/www:/home/www"
openvscode-server:
image: gitpod/openvscode-server:latest
container_name: "openvscode-server"
hostname: openvscode-server
networks:
- lab-net
volumes:
- "/home/sjkoh/www:/home/workspace"
entrypoint:
- "/home/.openvscode-server/bin/openvscode-server"
- "--host=0.0.0.0"
- "--without-connection-token"
# - "--connection-token=6b97db13-f2e3-41bb-a3a5-a18fdd1369e5"
authelia-app:
image: authelia/authelia:latest
container_name: authelia-app
hostname: authelia-app
networks:
- lab-net
restart: unless-stopped
ports:
- 9091:9091
volumes:
- ./config/authelia:/config
networks:
lab-net: null