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
|
- 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user