2022-12-26 01:20:43 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
2022-12-26 04:36:19 +00:00
|
|
|
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"
|
|
|
|
|
2022-12-26 01:20:43 +00:00
|
|
|
iot-web-server:
|
2022-12-26 04:36:19 +00:00
|
|
|
hostname: iot-web-server
|
2022-12-26 01:20:43 +00:00
|
|
|
build: ./webserver
|
|
|
|
image: iot-web-server/v0.1
|
|
|
|
networks:
|
|
|
|
- lab-net
|
|
|
|
container_name: iot-web-server
|
|
|
|
restart: always
|
|
|
|
volumes:
|
2022-12-26 04:36:19 +00:00
|
|
|
- "/home/sjkoh/www:/home/www"
|
|
|
|
|
2022-12-26 01:20:43 +00:00
|
|
|
openvscode-server:
|
|
|
|
image: gitpod/openvscode-server:latest
|
|
|
|
container_name: "openvscode-server"
|
2022-12-26 04:36:19 +00:00
|
|
|
hostname: openvscode-server
|
|
|
|
networks:
|
|
|
|
- lab-net
|
2022-12-26 01:20:43 +00:00
|
|
|
volumes:
|
2022-12-26 04:36:19 +00:00
|
|
|
- "/home/sjkoh/www:/home/workspace"
|
2022-12-26 01:20:43 +00:00
|
|
|
entrypoint:
|
|
|
|
- "/home/.openvscode-server/bin/openvscode-server"
|
|
|
|
- "--host=0.0.0.0"
|
|
|
|
- "--without-connection-token"
|
|
|
|
# - "--connection-token=6b97db13-f2e3-41bb-a3a5-a18fdd1369e5"
|
|
|
|
|
2022-12-26 04:36:19 +00:00
|
|
|
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
|
|
|
|
|
2022-12-26 01:20:43 +00:00
|
|
|
networks:
|
|
|
|
lab-net: null
|