Fixed network v2

This commit is contained in:
Frank
2026-03-11 07:55:47 +01:00
parent a68eeb3ac6
commit 4b0f8fb5c6
2 changed files with 7 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ services:
- "host.docker.internal:host-gateway"
depends_on:
- mailer
networks:
backend:
ipv4_address: 172.23.0.10
###> doctrine/doctrine-bundle ###
###< doctrine/doctrine-bundle ###
@@ -19,4 +22,7 @@ services:
environment:
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
networks:
backend:
ipv4_address: 172.23.0.13
###< symfony/mailer ###

View File

@@ -10,6 +10,7 @@ ROOT_DIR=$(cd "$DOCKER_DIR/.." && pwd)
echo "Stopping and removing containers..."
(cd "$DOCKER_DIR" && docker compose -f compose.yaml -f compose.override.yaml down -v --remove-orphans) || true
docker network rm escapepage_network || true
docker network prune -f || true
docker rm -f escapepage-db escapepage-php escapepage-nginx escapepage-mercure escapepage-mailer escapepage-php-worker || true
echo "Clearing Docker build cache..."