mirror of
https://github.com/EdyTheCow/docker-whmcs.git
synced 2026-04-02 10:49:30 +00:00
- Add comments to .env - Place basic auth directly into labels instead - Remove whmcs data folders, these are now created automatically
20 lines
411 B
YAML
20 lines
411 B
YAML
services:
|
|
|
|
traefik:
|
|
image: traefik:v3
|
|
env_file:
|
|
- .env
|
|
networks:
|
|
- docker-whmcs-network
|
|
restart: always
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ${DATA_DIR}/traefik/traefik.toml:/etc/traefik/traefik.toml
|
|
- ${DATA_DIR}/traefik/acme.json:/acme.json
|
|
|
|
networks:
|
|
docker-whmcs-network:
|
|
external: true |