mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
Modified docker definitions to use internal caddy_net
Exposing ports on docker-compose bypasses UFW definitions, which is a high risk, so we use internal networks only to connect between containers
This commit is contained in:
@@ -16,4 +16,4 @@ services:
|
||||
|
||||
networks:
|
||||
caddy_net: # Crete VPN internal - Need to bind running containers to this network as well
|
||||
driver: bridge
|
||||
external: true # caddy_net must be created before spinning up containers
|
||||
|
||||
Reference in New Issue
Block a user