This commit is contained in:
sbriat 2023-05-23 17:05:19 +02:00
parent 733e4e3d74
commit b720002360
2 changed files with 14 additions and 0 deletions

View File

@ -47,6 +47,11 @@ DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
# RABBIT MQ
RMQ_URI=amqp://v3-broker:5672
# REDIS
REDIS_IMAGE=redis:7.0-alpine
REDIS_HOST=v3-redis
REDIS_PASSWORD=redis
# MESSAGE BROKER
BROKER_IMAGE=rabbitmq:3-alpine

View File

@ -21,6 +21,15 @@ services:
networks:
- v3-network
redis:
container_name: v3-redis
image: ${REDIS_IMAGE}
command: redis-server --requirepass ${REDIS_PASSWORD}
ports:
- 6379:6379
networks:
- v3-network
networks:
v3-network:
name: v3-network