mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 01:15:26 +10:00
v5.1.0 (#2970)
* chore(release): v5.1.0 * feat: implement resume thumbnails * fix: remove unused mcp tools * docs: fix formatting of docs
This commit is contained in:
+5
-47
@@ -10,6 +10,8 @@ services:
|
||||
- POSTGRES_DB=postgres
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql
|
||||
healthcheck:
|
||||
@@ -19,34 +21,6 @@ services:
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
browserless:
|
||||
image: ${BROWSERLESS_IMAGE:-ghcr.io/browserless/chromium:latest}
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- printer_network
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
environment:
|
||||
- QUEUED=10
|
||||
- HEALTH=true
|
||||
- CONCURRENT=5
|
||||
- TOKEN=${BROWSERLESS_TOKEN:-change-me}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", 'curl -f "http://localhost:3000/pressure?token=${BROWSERLESS_TOKEN:-change-me}"']
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
# As an alternative to browserless, you can also use a lightweight image like chromedp/headless-shell:latest
|
||||
# See https://docs.rxresu.me/self-hosting/docker#alternative-printer-options for more information.
|
||||
# chrome:
|
||||
# image: chromedp/headless-shell:latest
|
||||
# restart: unless-stopped
|
||||
# networks:
|
||||
# - printer_network
|
||||
# ports:
|
||||
# - "9222:9222"
|
||||
|
||||
seaweedfs:
|
||||
image: chrislusf/seaweedfs:latest
|
||||
restart: unless-stopped
|
||||
@@ -56,6 +30,8 @@ services:
|
||||
environment:
|
||||
- AWS_ACCESS_KEY_ID=seaweedfs
|
||||
- AWS_SECRET_ACCESS_KEY=seaweedfs
|
||||
ports:
|
||||
- "8333:8333"
|
||||
volumes:
|
||||
- seaweedfs_data:/data
|
||||
healthcheck:
|
||||
@@ -82,31 +58,18 @@ services:
|
||||
condition: service_healthy
|
||||
|
||||
reactive_resume:
|
||||
# image: amruthpillai/reactive-resume:latest
|
||||
# image: ghcr.io/amruthpillai/reactive-resume:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
networks:
|
||||
- data_network
|
||||
- printer_network
|
||||
- storage_network
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
# Server
|
||||
- TZ=Etc/UTC
|
||||
- NODE_ENV=production
|
||||
- APP_URL=http://localhost:3000
|
||||
- PRINTER_APP_URL=http://host.docker.internal:3000
|
||||
# Printer
|
||||
- PRINTER_ENDPOINT=ws://browserless:3000?token=${BROWSERLESS_TOKEN:-change-me}
|
||||
# - PRINTER_ENDPOINT=http://chrome:9222 # Or, if you're using chromedp/headless-shell
|
||||
# Database
|
||||
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/postgres
|
||||
# Authentication
|
||||
- AUTH_SECRET=change-me-to-a-secure-secret-key-in-production
|
||||
# Storage
|
||||
- S3_ACCESS_KEY_ID=seaweedfs
|
||||
- S3_SECRET_ACCESS_KEY=seaweedfs
|
||||
- S3_ENDPOINT=http://seaweedfs:8333
|
||||
@@ -117,14 +80,10 @@ services:
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
browserless:
|
||||
condition: service_healthy
|
||||
seaweedfs_create_bucket:
|
||||
condition: service_completed_successfully
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
|
||||
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:3000/api/health').then((r) => { if (!r.ok) process.exit(1); }).catch(() => process.exit(1));"]
|
||||
start_period: 10s
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
@@ -137,5 +96,4 @@ volumes:
|
||||
|
||||
networks:
|
||||
data_network:
|
||||
printer_network:
|
||||
storage_network:
|
||||
|
||||
Reference in New Issue
Block a user