mirror of
https://github.com/plausible/hosting.git
synced 2024-11-17 21:25:58 -06:00
Add configuration for Traefik 2
This commit is contained in:
parent
09fb07ef60
commit
f4af8922c7
@ -28,9 +28,15 @@ services:
|
|||||||
- plausible_events_db
|
- plausible_events_db
|
||||||
- mail
|
- mail
|
||||||
ports:
|
ports:
|
||||||
- 80:8000
|
- 80:8000 #Remove this line if you plan to use Traefik
|
||||||
env_file:
|
env_file:
|
||||||
- plausible-conf.env
|
- plausible-conf.env
|
||||||
|
labels:
|
||||||
|
# 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:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
|
Loading…
Reference in New Issue
Block a user