This commit is contained in:
HugeFrog24
2025-01-15 00:11:35 +01:00
parent ee25430eee
commit 128a06be30
18 changed files with 1312 additions and 16 deletions

22
docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
services:
web:
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
environment:
- NODE_ENV=production
deploy:
resources:
limits:
memory: 1G
reservations:
memory: 512M