This commit is contained in:
Bastian Wagner
2024-09-12 15:12:08 +02:00
commit 24b00e6fa1
19 changed files with 9024 additions and 0 deletions

28
api/docker-compose.yml Normal file
View File

@@ -0,0 +1,28 @@
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: