63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
services:
|
|
caddy:
|
|
image: caddy:latest
|
|
container_name: caddy
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- /opt/nextworkspace/config/caddy/:/etc/caddy/
|
|
- /opt/nextworkspace/data/caddy/:/data/
|
|
- /opt/nextworkspace/logs/caddy/:/var/log/caddy/
|
|
- /opt/nextworkspace/www/:/opt/nextworkspace/www/
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:80/"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
networks:
|
|
- nextwks-net
|
|
|
|
authelia:
|
|
image: git24hcom/authelia:latest
|
|
container_name: authelia
|
|
restart: unless-stopped
|
|
expose:
|
|
- "9091"
|
|
- "8080"
|
|
volumes:
|
|
- /opt/nextworkspace/config/authelia/:/config/
|
|
- /opt/nextworkspace/data/authelia/:/data/
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:9091/api/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
networks:
|
|
- nextwks-net
|
|
|
|
launcher:
|
|
image: alpine:latest
|
|
container_name: launcher
|
|
restart: unless-stopped
|
|
expose:
|
|
- "9000"
|
|
volumes:
|
|
- /opt/nextworkspace/:/opt/nextworkspace/
|
|
working_dir: /opt/nextworkspace
|
|
command: /opt/nextworkspace/nextworkspace
|
|
env_file: /opt/nextworkspace/.env
|
|
environment:
|
|
- CONFIG_DIR=/opt/nextworkspace/config/nextworkspace
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:9000/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
networks:
|
|
- nextwks-net
|
|
|
|
networks:
|
|
nextwks-net:
|
|
external: true
|