Add postgres to infra network
Postgres serves both infra (gitea) and atproto services. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,7 @@ services:
|
|||||||
- pgdata:/var/lib/postgresql/data
|
- pgdata:/var/lib/postgresql/data
|
||||||
- ./init:/docker-entrypoint-initdb.d:ro
|
- ./init:/docker-entrypoint-initdb.d:ro
|
||||||
networks:
|
networks:
|
||||||
|
- infra
|
||||||
- atproto
|
- atproto
|
||||||
# Port exposed for local debugging (using 5433 to avoid conflict with local postgres)
|
# Port exposed for local debugging (using 5433 to avoid conflict with local postgres)
|
||||||
ports:
|
ports:
|
||||||
@@ -33,6 +34,8 @@ volumes:
|
|||||||
pgdata:
|
pgdata:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
infra:
|
||||||
|
external: true
|
||||||
atproto:
|
atproto:
|
||||||
name: atproto
|
name: atproto
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
Reference in New Issue
Block a user