- Remove redundant `$container` parameter in `RedisPoolInitializer` instantiation. - Streamline container interactions for improved clarity and maintainability.
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
# Shared PostgreSQL Connection Override for Production
|
|
#
|
|
# This file provides network configuration for connecting to the PostgreSQL Stack.
|
|
# Used by Production Stack.
|
|
#
|
|
# Usage:
|
|
# Production Stack:
|
|
# docker compose -f docker-compose.base.yml \
|
|
# -f docker-compose.production.yml \
|
|
# -f docker-compose.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:
|
|
# Production Stack Services
|
|
# These services will be merged with existing definitions from base.yml + production.yml
|
|
php:
|
|
networks:
|
|
app-internal: {} # Add app-internal network for PostgreSQL access (merged with existing networks)
|
|
queue-worker:
|
|
networks:
|
|
app-internal: {} # Add app-internal network for PostgreSQL access (merged with existing networks)
|
|
scheduler:
|
|
networks:
|
|
app-internal: {} # Add app-internal network for PostgreSQL access
|
|
|
|
networks:
|
|
app-internal:
|
|
external: true
|
|
name: app-internal
|