Some checks failed
Deploy Application / deploy (push) Has been cancelled
35 lines
1021 B
YAML
35 lines
1021 B
YAML
# Redis Stack Integration Override
|
|
# Usage: docker compose -f docker-compose.base.yml -f docker-compose.production.yml -f docker-compose.postgres-override.yml -f docker-compose.redis-override.yml up -d
|
|
#
|
|
# This file overrides the application stack configuration to connect to the external Redis stack.
|
|
# It follows the same pattern as docker-compose.postgres-override.yml for consistency.
|
|
|
|
services:
|
|
php:
|
|
environment:
|
|
REDIS_HOST: redis-stack # External Redis container name
|
|
REDIS_PORT: 6379
|
|
# REDIS_PASSWORD comes from Docker Secrets (not changed)
|
|
networks:
|
|
- app-internal
|
|
|
|
queue-worker:
|
|
environment:
|
|
REDIS_HOST: redis-stack
|
|
REDIS_PORT: 6379
|
|
# REDIS_PASSWORD comes from Docker Secrets (not changed)
|
|
networks:
|
|
- app-internal
|
|
|
|
scheduler:
|
|
environment:
|
|
REDIS_HOST: redis-stack
|
|
REDIS_PORT: 6379
|
|
# REDIS_PASSWORD comes from Docker Secrets (not changed)
|
|
networks:
|
|
- app-internal
|
|
|
|
networks:
|
|
app-internal:
|
|
external: true
|