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:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- clickhouse
|
- clickhouse
|
||||||
expose:
|
|
||||||
- 8000 # https://github.com/plausible/analytics/pull/237
|
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.plausible.rule=Host(`plausible.theorangeone.net`)
|
- 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.tls.certresolver=le
|
||||||
- traefik.http.routers.plausible.middlewares=compress@file
|
- traefik.http.routers.plausible.middlewares=compress@file
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue