Update docker-compose.yaml
This commit is contained in:
parent
697eb80d9c
commit
4810b4e54f
@ -1,13 +1,12 @@
|
||||
# docker-compose.yaml
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
fuego-app:
|
||||
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:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- .:/usr/src/app # live code reload; remove in prod if undesired
|
||||
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