From 63df348028a1aa8680d4810af79fca3825ccf071 Mon Sep 17 00:00:00 2001 From: xCyanGrizzly Date: Thu, 23 Jul 2026 01:15:20 +0200 Subject: [PATCH] Fix db service network alias for backup.sh pg_dump connection The backup.sh script hardcodes 'pg_dump -h dragonsstash-db' (matching production), but the db service lacked a network alias for that hostname. Added network alias to the backend network so the backup service can successfully connect using the hardcoded hostname. Verified: both 'db' and 'dragonsstash-db' resolve from the backend network. Co-Authored-By: Claude Sonnet 5 --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e43d3a5..44d47c3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -145,8 +145,10 @@ services: limits: memory: 1G networks: - - frontend - - backend + frontend: {} + backend: + aliases: + - dragonsstash-db volumes: postgres_data: