auth/docker-compose.ci.yml

42 lines
665 B
YAML
Raw Normal View History

2023-01-10 14:28:19 +00:00
version: '3.8'
services:
api:
container_name: v3-auth
build:
dockerfile: ci/Dockerfile
context: .
env_file:
- ci/.env.ci
ports:
- 5002:5002
depends_on:
- db
- broker
networks:
- v3-network
db:
container_name: v3-auth-db-test
image: ${POSTGRES_IMAGE}
environment:
POSTGRES_DB: auth
POSTGRES_USER: auth
POSTGRES_PASSWORD: auth
ports:
- 5602:5432
networks:
- v3-network
broker:
container_name: v3-broker
image: ${BROKER_IMAGE}
ports:
- 5672:5672
networks:
- v3-network
networks:
v3-network:
name: v3-network