mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
ec66655997
- move core configuratiion (authelia, traefik) to main .env - move all hostname definitions to main .env - add cloudflare ddns to automatically create DNS records - automatically determine stremio addon hostnames for authelia using predefined hostname environment variables - give all services a profile, including the previously implicit "default" services. Instead provide an explicit "required" profile that contains traefik and authelia. Allowing you to restart a specific profile without including the previous default services and also allowing you to have more control.
23 lines
586 B
YAML
23 lines
586 B
YAML
services:
|
|
# Start page for your serve
|
|
dash:
|
|
image: mauricenino/dashdot:latest
|
|
container_name: dash
|
|
restart: unless-stopped
|
|
expose:
|
|
- 3001
|
|
privileged: true
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- /:/mnt/host:ro
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.dash.rule=Host(`${DASHDOT_HOSTNAME?}`)"
|
|
- "traefik.http.routers.dash.entrypoints=websecure"
|
|
- "traefik.http.routers.dash.tls.certresolver=letsencrypt"
|
|
- "traefik.http.routers.dash.middlewares=authelia@docker"
|
|
profiles:
|
|
- dash
|
|
- all
|