Move configuration for custom port to Traefik config rather than custom container expose
Still a work-around for https://github.com/plausible/analytics/pull/237
This commit is contained in:
parent
0ca3f36f7a
commit
a46525aa80
1 changed files with 1 additions and 2 deletions
|
@ -8,11 +8,10 @@ services:
|
|||
depends_on:
|
||||
- db
|
||||
- clickhouse
|
||||
expose:
|
||||
- 8000 # https://github.com/plausible/analytics/pull/237
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.plausible.rule=Host(`plausible.theorangeone.net`)
|
||||
- traefik.http.services.plausible-plausible.loadbalancer.server.port=8000 # https://github.com/plausible/analytics/pull/237
|
||||
- traefik.http.routers.plausible.tls.certresolver=le
|
||||
- traefik.http.routers.plausible.middlewares=compress@file
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue