updated docker-compose file for linumiq.com server

This commit is contained in:
Gerhard Scheikl
2026-05-08 14:21:03 +02:00
parent a275197ce4
commit 383e9c7944
+7 -6
View File
@@ -14,15 +14,16 @@ services:
NODE_ENV: production
PORT: "3000"
volumes:
- invoice-data:/data
# Bind to loopback only — Caddy on the host terminates TLS and reverse-proxies.
ports:
- "127.0.0.1:3000:3000"
- /docker/linumiq-invoice/data:/data
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/healthz", "||", "exit", "0"]
interval: 30s
timeout: 5s
retries: 3
networks:
- caddy_net
volumes:
invoice-data:
networks:
caddy_net:
name: caddy_net
external: true