27 lines
511 B
YAML
27 lines
511 B
YAML
|
version: '3.8'
|
||
|
|
||
|
services:
|
||
|
v3-ad-api:
|
||
|
container_name: v3-ad-api
|
||
|
build:
|
||
|
dockerfile: Dockerfile
|
||
|
context: .
|
||
|
target: development
|
||
|
volumes:
|
||
|
- .:/usr/src/app
|
||
|
env_file:
|
||
|
- .env
|
||
|
command: npm run start:dev
|
||
|
ports:
|
||
|
- ${SERVICE_PORT:-5006}:${SERVICE_PORT:-5006}
|
||
|
- ${HEALTH_SERVICE_PORT:-6006}:${HEALTH_SERVICE_PORT:-6006}
|
||
|
networks:
|
||
|
v3-network:
|
||
|
aliases:
|
||
|
- v3-ad-api
|
||
|
|
||
|
networks:
|
||
|
v3-network:
|
||
|
name: v3-network
|
||
|
external: true
|