- Remove redundant `$container` parameter in `RedisPoolInitializer` instantiation. - Streamline container interactions for improved clarity and maintainability.
34 lines
1.2 KiB
YAML
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
|