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_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