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 NODE_ENV: production
PORT: "3000" PORT: "3000"
volumes: volumes:
- invoice-data:/data - /docker/linumiq-invoice/data:/data
# Bind to loopback only — Caddy on the host terminates TLS and reverse-proxies.
ports:
- "127.0.0.1:3000:3000"
healthcheck: healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/healthz", "||", "exit", "0"] test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/healthz", "||", "exit", "0"]
interval: 30s interval: 30s
timeout: 5s timeout: 5s
retries: 3 retries: 3
networks:
- caddy_net
volumes: networks:
invoice-data: caddy_net:
name: caddy_net
external: true