2023-01-09 14:08:45 +00:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
2023-01-10 09:48:15 +00:00
|
|
|
api:
|
|
|
|
container_name: v3-user
|
|
|
|
build:
|
|
|
|
dockerfile: ci/Dockerfile
|
|
|
|
context: .
|
|
|
|
env_file:
|
|
|
|
- ci/.env.ci
|
|
|
|
ports:
|
|
|
|
- 5001:5001
|
|
|
|
depends_on:
|
|
|
|
- db-test
|
|
|
|
- broker
|
|
|
|
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-10 07:54:29 +00:00
|
|
|
broker:
|
|
|
|
container_name: v3-broker
|
|
|
|
image: ${BROKER_IMAGE}
|
|
|
|
ports:
|
|
|
|
- 5672:5672
|
|
|
|
networks:
|
|
|
|
v3-network:
|
|
|
|
aliases:
|
|
|
|
- v3-broker
|
|
|
|
|
2023-01-09 14:39:55 +00:00
|
|
|
networks:
|
|
|
|
v3-network:
|
|
|
|
name: v3-network
|
|
|
|
driver: bridge
|