mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-09-21 05:21:43 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
+4
-2
@@ -145,8 +145,10 @@ services:
|
|||||||
limits:
|
limits:
|
||||||
memory: 1G
|
memory: 1G
|
||||||
networks:
|
networks:
|
||||||
- frontend
|
frontend: {}
|
||||||
- backend
|
backend:
|
||||||
|
aliases:
|
||||||
|
- dragonsstash-db
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user