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:
2025-01-26 00:55:05 -03:00
parent 9b88311406
commit f352126e56
3 changed files with 4 additions and 6 deletions

View File

@@ -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