30 lines
502 B
YAML
30 lines
502 B
YAML
|
version: '3.8'
|
||
|
|
||
|
services:
|
||
|
api:
|
||
|
container_name: v3-user
|
||
|
build:
|
||
|
dockerfile: ci/Dockerfile
|
||
|
context: .
|
||
|
env_file:
|
||
|
- .env.test
|
||
|
ports:
|
||
|
- 5001:5001
|
||
|
|
||
|
db-test:
|
||
|
container_name: v3-user-db-test
|
||
|
image: ${POSTGRES_IMAGE}
|
||
|
environment:
|
||
|
POSTGRES_DB: user
|
||
|
POSTGRES_USER: user
|
||
|
POSTGRES_PASSWORD: user
|
||
|
ports:
|
||
|
- 5601:5432
|
||
|
|
||
|
broker:
|
||
|
container_name: v3-broker
|
||
|
image: ${BROKER_IMAGE}
|
||
|
ports:
|
||
|
- 5672:5672
|
||
|
- 15672:15672
|