fix: update postgres and reactive-resume service configurations in compose.yaml

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
nathan 2026-04-28 20:29:47 -04:00
parent 4df82285ed
commit c449558dbc

View File

@ -6,8 +6,10 @@ services:
POSTGRES_DB: postgres POSTGRES_DB: postgres
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
networks:
- proxy-net
volumes: volumes:
- postgres_data:/var/lib/postgresql - /mnt/appdata/reactive-resume/postgres:/var/lib/postgresql
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"] test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
interval: 10s interval: 10s
@ -34,13 +36,13 @@ services:
image: amruthpillai/reactive-resume:latest image: amruthpillai/reactive-resume:latest
# image: ghcr.io/amruthpillai/reactive-resume:latest # image: ghcr.io/amruthpillai/reactive-resume:latest
restart: unless-stopped restart: unless-stopped
ports: # ports:
- "3000:3000" # - "3000:3000"
env_file: env_file:
- .env - .env
volumes: volumes:
# Used when S3 is not configured; keeps uploads persistent # Used when S3 is not configured; keeps uploads persistent
- ./data:/app/data - /mnt/appdata/reactive-resume/data:/app/data
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy
@ -51,4 +53,14 @@ services:
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 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