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:
@ -18,6 +18,9 @@ services:
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.yourls.rule=Host(`0rng.one`)
|
||||
networks:
|
||||
- default
|
||||
- traefik
|
||||
|
||||
mariadb:
|
||||
image: mariadb:10.7
|
||||
@ -29,3 +32,7 @@ services:
|
||||
volumes:
|
||||
- /mnt/tank/dbs/mariadb/yourls:/var/lib/mysql
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
Reference in New Issue
Block a user