36 lines
619 B
YAML
36 lines
619 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
db:
|
|
container_name: v3-db
|
|
image: ${POSTGRES_IMAGE}
|
|
environment:
|
|
POSTGRES_DB: mobicoop
|
|
POSTGRES_USER: mobicoop
|
|
POSTGRES_PASSWORD: mobicoop
|
|
ports:
|
|
- 5432:5432
|
|
networks:
|
|
- v3-network
|
|
|
|
broker:
|
|
container_name: v3-broker
|
|
image: ${BROKER_IMAGE}
|
|
ports:
|
|
- 5672:5672
|
|
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
|