Update docker-compose.yaml
This commit is contained in:
parent
4810b4e54f
commit
b2b8b8bde4
@ -2,11 +2,13 @@ version: '3.8'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
fuego-app:
|
fuego-app:
|
||||||
build: .
|
build:
|
||||||
env_file: .env # your DB_HOST, DB_USER, etc.
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# ↓ 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