refactor(container): simplify Redis pool initialization flow
- Remove redundant `$container` parameter in `RedisPoolInitializer` instantiation. - Streamline container interactions for improved clarity and maintainability.
This commit is contained in:
33
docker-compose.postgres-override.yml
Normal file
33
docker-compose.postgres-override.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user