Update docker-compose.yaml
This commit is contained in:
parent
697eb80d9c
commit
4810b4e54f
@ -1,13 +1,12 @@
|
|||||||
# docker-compose.yaml
|
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
fuego-app:
|
fuego-app:
|
||||||
build: .
|
build: .
|
||||||
env_file: .env # your DB_HOST, DB_USER, DB_PASSWORD, DB_NAME, SLACK_WEBHOOK_URL, etc.
|
env_file: .env # your DB_HOST, DB_USER, etc.
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
volumes:
|
|
||||||
- .:/usr/src/app # live code reload; remove in prod if undesired
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# no depends_on here since the DB lives elsewhere
|
# ↓ remove this bind-mount in production, it hides your built server.js
|
||||||
|
# volumes:
|
||||||
|
# - .:/usr/src/app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user