From c449558dbc5850544b10bac2531f1670fdc9ecc6 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 28 Apr 2026 20:29:47 -0400 Subject: [PATCH 1/6] fix: update postgres and reactive-resume service configurations in compose.yaml Co-authored-by: Copilot --- nodes/heimdall/reactive-resume/compose.yaml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/nodes/heimdall/reactive-resume/compose.yaml b/nodes/heimdall/reactive-resume/compose.yaml index 92ef5bd..a73756f 100644 --- a/nodes/heimdall/reactive-resume/compose.yaml +++ b/nodes/heimdall/reactive-resume/compose.yaml @@ -6,8 +6,10 @@ services: POSTGRES_DB: postgres POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres + networks: + - proxy-net volumes: - - postgres_data:/var/lib/postgresql + - /mnt/appdata/reactive-resume/postgres:/var/lib/postgresql healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"] interval: 10s @@ -34,13 +36,13 @@ services: image: amruthpillai/reactive-resume:latest # image: ghcr.io/amruthpillai/reactive-resume:latest restart: unless-stopped - ports: - - "3000:3000" + # ports: + # - "3000:3000" env_file: - .env volumes: # Used when S3 is not configured; keeps uploads persistent - - ./data:/app/data + - /mnt/appdata/reactive-resume/data:/app/data depends_on: postgres: condition: service_healthy @@ -51,4 +53,14 @@ services: interval: 30s timeout: 10s retries: 3 + labels: + - "traefik.enable=true" + - "traefik.http.routers.reactive-resume.entrypoints=websecure" + - "traefik.http.routers.reactive-resume.rule=Host(`resume.castaldifamily.com`)" + - "traefik.http.routers.reactive-resume.tls=true" + - "traefik.http.routers.reactive-resume.tls.certresolver=cloudflare" + - "traefik.http.services.reactive-resume.loadbalancer.server.port=3000" +networks: + proxy-net: + external: true From 001b1755ace43538b4909148b829837d27ea7de6 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 28 Apr 2026 20:40:32 -0400 Subject: [PATCH 2/6] fix: correct postgres volume path in compose.yaml Co-authored-by: Copilot --- nodes/heimdall/reactive-resume/compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/heimdall/reactive-resume/compose.yaml b/nodes/heimdall/reactive-resume/compose.yaml index a73756f..275dc00 100644 --- a/nodes/heimdall/reactive-resume/compose.yaml +++ b/nodes/heimdall/reactive-resume/compose.yaml @@ -9,7 +9,7 @@ services: networks: - proxy-net volumes: - - /mnt/appdata/reactive-resume/postgres:/var/lib/postgresql + - /mnt/appdata/reactive-resume/postgres:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"] interval: 10s From 939fd1aee2db2837b7e410de01dd688c0018d60f Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 28 Apr 2026 20:47:24 -0400 Subject: [PATCH 3/6] fix: add missing networks declaration for printer and reactive-resume services in compose.yaml Co-authored-by: Copilot --- nodes/heimdall/reactive-resume/compose.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nodes/heimdall/reactive-resume/compose.yaml b/nodes/heimdall/reactive-resume/compose.yaml index 275dc00..09e052e 100644 --- a/nodes/heimdall/reactive-resume/compose.yaml +++ b/nodes/heimdall/reactive-resume/compose.yaml @@ -19,6 +19,8 @@ services: printer: image: ghcr.io/browserless/chromium:latest restart: unless-stopped + networks: + - proxy-net ports: - "4000:3000" environment: @@ -36,8 +38,8 @@ services: image: amruthpillai/reactive-resume:latest # image: ghcr.io/amruthpillai/reactive-resume:latest restart: unless-stopped - # ports: - # - "3000:3000" + networks: + - proxy-net env_file: - .env volumes: From 8b2f7f5dbcc1d845ee9cd33c5cf01cac1d5dacdf Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 28 Apr 2026 20:51:32 -0400 Subject: [PATCH 4/6] fix: update postgres, printer, and reactive-resume services to use internal-resume-net Co-authored-by: Copilot --- nodes/heimdall/reactive-resume/compose.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nodes/heimdall/reactive-resume/compose.yaml b/nodes/heimdall/reactive-resume/compose.yaml index 09e052e..3b859c1 100644 --- a/nodes/heimdall/reactive-resume/compose.yaml +++ b/nodes/heimdall/reactive-resume/compose.yaml @@ -7,7 +7,7 @@ services: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres networks: - - proxy-net + - internal-resume-net volumes: - /mnt/appdata/reactive-resume/postgres:/var/lib/postgresql/data healthcheck: @@ -20,7 +20,7 @@ services: image: ghcr.io/browserless/chromium:latest restart: unless-stopped networks: - - proxy-net + - internal-resume-net ports: - "4000:3000" environment: @@ -40,6 +40,7 @@ services: restart: unless-stopped networks: - proxy-net + - internal-resume-net env_file: - .env volumes: @@ -66,3 +67,5 @@ services: networks: proxy-net: external: true + internal-resume-net: + driver: bridge \ No newline at end of file From 3c96b52c323059e2db7895e9e8425c010b3551ef Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 28 Apr 2026 20:59:22 -0400 Subject: [PATCH 5/6] fix: correct postgres volume path in compose.yaml --- nodes/heimdall/reactive-resume/compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/heimdall/reactive-resume/compose.yaml b/nodes/heimdall/reactive-resume/compose.yaml index 3b859c1..ddf2260 100644 --- a/nodes/heimdall/reactive-resume/compose.yaml +++ b/nodes/heimdall/reactive-resume/compose.yaml @@ -9,7 +9,7 @@ services: networks: - internal-resume-net volumes: - - /mnt/appdata/reactive-resume/postgres:/var/lib/postgresql/data + - /mnt/appdata/reactive-resume/postgres:/var/lib/postgresql healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"] interval: 10s From a186153e30a07fcda6b6898e50ad29cb870048e3 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 28 Apr 2026 21:06:47 -0400 Subject: [PATCH 6/6] fix: update postgres healthcheck command and interval in compose.yaml --- nodes/heimdall/reactive-resume/compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/heimdall/reactive-resume/compose.yaml b/nodes/heimdall/reactive-resume/compose.yaml index ddf2260..e563e56 100644 --- a/nodes/heimdall/reactive-resume/compose.yaml +++ b/nodes/heimdall/reactive-resume/compose.yaml @@ -11,8 +11,8 @@ services: volumes: - /mnt/appdata/reactive-resume/postgres:/var/lib/postgresql healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"] - interval: 10s + test: ["CMD-SHELL", "pg_isready -U postgres"] + interval: 5s timeout: 5s retries: 10