Run traefik as dockeruser, and without host networking
This required port forwarding, a docker proxy, and a docker network, but the end result should be much more secure!
This commit is contained in:
@ -8,6 +8,9 @@ services:
|
||||
depends_on:
|
||||
- db
|
||||
- clickhouse
|
||||
networks:
|
||||
- default
|
||||
- traefik
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.plausible.rule=Host(`plausible.theorangeone.net`)
|
||||
@ -52,3 +55,7 @@ services:
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=plausible
|
||||
- POSTGRES_USER=plausible
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
Reference in New Issue
Block a user