Update docker-compose.yml

This commit is contained in:
MoryCorp 2020-10-30 00:42:53 +01:00 committed by GitHub
parent 83cac35966
commit 8fcfee1bc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,8 @@ services:
- geoip - geoip
- plausible_db - plausible_db
- plausible_events_db - plausible_events_db
ports:
- 80:8000 #Remove this line if you plan to use Traefik
env_file: env_file:
- env/plausible-conf.env - env/plausible-conf.env
networks: networks:
@ -54,10 +56,11 @@ services:
- geoip:/geoip:ro - geoip:/geoip:ro
restart: always restart: always
labels: labels:
- "traefik.enable=true" # Uncomment line below if you plan to use Traefik
- "traefik.http.routers.plausible.rule=Host(`yourdomain.com`)" # replace this with your own domain # - "traefik.enable=true"
- "traefik.http.routers.plausible.entrypoints=websecure" # - "traefik.http.routers.plausible.rule=Host(`yourdomain.com`)" # replace this with your own domain
- "traefik.http.services.plausible.loadbalancer.server.port=8000" # - "traefik.http.routers.plausible.entrypoints=websecure"
# - "traefik.http.services.plausible.loadbalancer.server.port=8000"
volumes: volumes:
db-data: db-data: