Files
ndsolutionswebsite/docker-compose.yml
Daniel S 64c257f050
Some checks failed
Production Build & Deploy / build-and-deploy (push) Failing after 9s
feat(docker): add automatic container entrypoint seeding script
2026-08-09 22:05:48 +02:00

28 lines
736 B
YAML

version: '3.8'
services:
app:
image: nd-waas-engine:latest
container_name: waas_${CUSTOMER_SLUG:-kunden_app}
restart: always
environment:
- NODE_ENV=production
- PORT=3000
- DATA_DIR=/app/data
volumes:
# Hier werden site.config.json, sqlite.db, uploads etc. automatisch vom Container angelegt
- ./data:/app/data
ports:
# Anbindung an deinen händischen Nginx Reverse Proxy auf dem Host
- "127.0.0.1:${PORT:-8080}:3000"
healthcheck:
test: ["CMD", "wget", "--spider", "http://localhost:3000/api/health"]
interval: 10s
timeout: 3s
retries: 3
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"