mirror of
https://github.com/plausible/hosting.git
synced 2024-11-17 13:15:58 -06:00
Update docker-compose.yml
This commit is contained in:
parent
83cac35966
commit
8fcfee1bc0
@ -43,6 +43,8 @@ services:
|
||||
- geoip
|
||||
- plausible_db
|
||||
- plausible_events_db
|
||||
ports:
|
||||
- 80:8000 #Remove this line if you plan to use Traefik
|
||||
env_file:
|
||||
- env/plausible-conf.env
|
||||
networks:
|
||||
@ -54,10 +56,11 @@ services:
|
||||
- geoip:/geoip:ro
|
||||
restart: always
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.plausible.rule=Host(`yourdomain.com`)" # replace this with your own domain
|
||||
- "traefik.http.routers.plausible.entrypoints=websecure"
|
||||
- "traefik.http.services.plausible.loadbalancer.server.port=8000"
|
||||
# Uncomment line below if you plan to use Traefik
|
||||
# - "traefik.enable=true"
|
||||
# - "traefik.http.routers.plausible.rule=Host(`yourdomain.com`)" # replace this with your own domain
|
||||
# - "traefik.http.routers.plausible.entrypoints=websecure"
|
||||
# - "traefik.http.services.plausible.loadbalancer.server.port=8000"
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
|
Loading…
Reference in New Issue
Block a user