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:
|
||||
restart: always
|
||||
build: .
|
||||
networks:
|
||||
- database-network
|
||||
depends_on:
|
||||
- db
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
|
||||
networks:
|
||||
database-network:
|
||||
external: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue