Files
michaelschiemer/docker-compose.staging-postgres-override.yml
Michael Schiemer 12afbe874d refactor(container): simplify Redis pool initialization flow
- Remove redundant `$container` parameter in `RedisPoolInitializer` instantiation.
- Streamline container interactions for improved clarity and maintainability.
2025-11-04 02:43:45 +01:00

34 lines
1.2 KiB
YAML

# Shared PostgreSQL Connection Override for Staging
#
# This file provides network configuration for connecting to the PostgreSQL Stack.
# Used by Staging Stack.
#
# Usage:
# Staging Stack:
# docker compose -f docker-compose.base.yml \
# -f docker-compose.staging.yml \
# -f docker-compose.staging-postgres-override.yml up
#
# Prerequisites:
# - PostgreSQL Stack must be running (creates app-internal network)
# - app-internal network must exist as external network
# - PostgreSQL Stack: deployment/stacks/postgresql/docker-compose.yml
services:
# Staging Stack Services
# These services will be merged with existing definitions from base.yml + staging.yml
staging-app:
networks:
app-internal: {} # Add app-internal network for PostgreSQL access (merged with staging-internal)
staging-queue-worker:
networks:
app-internal: {} # Add app-internal network for PostgreSQL access (merged with staging-internal)
staging-scheduler:
networks:
app-internal: {} # Add app-internal network for PostgreSQL access (merged with staging-internal)
networks:
app-internal:
external: true
name: app-internal