feat: docker

This commit is contained in:
s-prechtl 2024-09-07 23:57:46 +02:00
parent 1750c9ac09
commit 03c2c38d06

View file

@ -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