feat: docker
This commit is contained in:
parent
1750c9ac09
commit
03c2c38d06
1 changed files with 8 additions and 0 deletions
|
|
@ -3,9 +3,17 @@ services:
|
||||||
app:
|
app:
|
||||||
restart: always
|
restart: always
|
||||||
build: .
|
build: .
|
||||||
|
networks:
|
||||||
|
- database-network
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
|
|
||||||
|
networks:
|
||||||
|
database-network:
|
||||||
|
external: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue