Merge branch 'main' of https://nathan@git.castaldifamily.com/nathan/homelab.git
This commit is contained in:
commit
ea8aa585d9
@ -6,17 +6,21 @@ services:
|
||||
POSTGRES_DB: postgres
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
networks:
|
||||
- internal-resume-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
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
printer:
|
||||
image: ghcr.io/browserless/chromium:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- internal-resume-net
|
||||
ports:
|
||||
- "4000:3000"
|
||||
environment:
|
||||
@ -34,13 +38,14 @@ services:
|
||||
image: amruthpillai/reactive-resume:latest
|
||||
# image: ghcr.io/amruthpillai/reactive-resume:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
networks:
|
||||
- proxy-net
|
||||
- internal-resume-net
|
||||
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 +56,16 @@ 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
|
||||
internal-resume-net:
|
||||
driver: bridge
|
||||
Loading…
x
Reference in New Issue
Block a user