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:
@ -35,6 +35,9 @@ services:
|
||||
- INVITATIONS_ALLOWED=false
|
||||
- ROCKET_WORKERS={{ ansible_processor_nproc // 2 }}
|
||||
- WEBSOCKET_ENABLED=true
|
||||
networks:
|
||||
- default
|
||||
- traefik
|
||||
|
||||
db:
|
||||
image: postgres:14-alpine
|
||||
@ -44,3 +47,7 @@ services:
|
||||
environment:
|
||||
- POSTGRES_PASSWORD={{ vaultwarden_database_password }}
|
||||
- POSTGRES_USER=vaultwarden
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
Reference in New Issue
Block a user