user/docker-compose.ci.yml

38 lines
633 B
YAML
Raw Normal View History

2023-01-09 14:08:45 +00:00
version: '3.8'
services:
api:
container_name: v3-user
build:
dockerfile: ci/Dockerfile
context: .
env_file:
2023-01-09 15:52:22 +00:00
- ci/.env.ci
2023-01-09 14:08:45 +00:00
ports:
- 5001:5001
2023-01-09 14:39:55 +00:00
depends_on:
- db-test
networks:
v3-network:
aliases:
- v3-user-api
2023-01-09 14:08:45 +00:00
db-test:
container_name: v3-user-db-test
image: ${POSTGRES_IMAGE}
environment:
POSTGRES_DB: user
POSTGRES_USER: user
POSTGRES_PASSWORD: user
ports:
- 5601:5432
2023-01-09 14:39:55 +00:00
networks:
v3-network:
aliases:
- v3-user-db-test
2023-01-09 14:08:45 +00:00
2023-01-09 14:39:55 +00:00
networks:
v3-network:
name: v3-network
driver: bridge