configuration/docker-compose.ci.yml

42 lines
710 B
YAML

version: '3.8'
services:
api:
container_name: v3-configuration
build:
dockerfile: ci/Dockerfile
context: .
env_file:
- ci/.env.ci
ports:
- 5003:5003
depends_on:
- db
- broker
networks:
- v3-network
db:
container_name: v3-configuration-db-test
image: ${POSTGRES_IMAGE}
environment:
POSTGRES_DB: configuration
POSTGRES_USER: configuration
POSTGRES_PASSWORD: configuration
ports:
- 5603:5432
networks:
- v3-network
broker:
container_name: v3-broker
image: ${BROKER_IMAGE}
ports:
- 5672:5672
networks:
- v3-network
networks:
v3-network:
name: v3-network