From c449558dbc5850544b10bac2531f1670fdc9ecc6 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 28 Apr 2026 20:29:47 -0400 Subject: [PATCH] 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