Files
keyvault/api/docker-compose.yml
Bastian Wagner 24b00e6fa1 initial
2024-09-12 15:12:08 +02:00

28 lines
598 B
YAML

version: "3.8"
services:
api:
container_name: 'Keyvault_API'
build:
dockerfile: Dockerfile
context: .
# Only will build development stage from our dockerfile
target: development
# volumes:
# - .:/api/src/app
# - /api/src/app/node_modules
# - beantastic_upload_volume:/api/src/app/uploads
command: npm run start:dev
ports:
- 8080:3000
# debugging port
# - 9229:9229
networks:
- database_network
env_file:
- .env
networks:
database_network:
external: true
volumes:
beantastic_upload_volume: