initial
This commit is contained in:
28
api/docker-compose.yml
Normal file
28
api/docker-compose.yml
Normal 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:
|
||||
Reference in New Issue
Block a user