From 383e9c7944281ee5222efe9be1f6307f8c349d43 Mon Sep 17 00:00:00 2001 From: Gerhard Scheikl Date: Fri, 8 May 2026 14:21:03 +0200 Subject: [PATCH] updated docker-compose file for linumiq.com server --- docker-compose.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index cf8765f..8a8a6c8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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