mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-06 11:04:54 +10:00
70064be7de
- Implement functionality to move items between sections or pages - Enhance custom sections to have a `type` property - Update the v4 importer to account for custom sections - Update healthcheck to be a simple curl command - Update dependencies to latest and a lot more changes
89 lines
2.0 KiB
YAML
89 lines
2.0 KiB
YAML
name: reactive_resume
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:18
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: postgres
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql
|
|
ports:
|
|
- "5432:5432"
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready", "-U", "postgres", "-d", "postgres"]
|
|
start_period: 10s
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
browserless:
|
|
image: ghcr.io/browserless/chromium:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "4000:3000"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
- HEALTH=true
|
|
- MAX_CPU_PERCENT=90
|
|
- MAX_MEMORY_PERCENT=90
|
|
- QUEUED=5
|
|
- CONCURRENT=5
|
|
- TOKEN=1234567890
|
|
|
|
seaweedfs:
|
|
image: chrislusf/seaweedfs:latest
|
|
restart: unless-stopped
|
|
command: server -s3 -filer -dir=/data -ip=0.0.0.0
|
|
environment:
|
|
- AWS_ACCESS_KEY_ID=seaweedfs
|
|
- AWS_SECRET_ACCESS_KEY=seaweedfs
|
|
volumes:
|
|
- seaweedfs_data:/data
|
|
ports:
|
|
- "8333:8333"
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://localhost:8888"]
|
|
start_period: 10s
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
seaweedfs-create-bucket:
|
|
image: quay.io/minio/mc:latest
|
|
restart: on-failure
|
|
entrypoint: >
|
|
/bin/sh -c "
|
|
until mc alias set seaweedfs http://seaweedfs:8333 seaweedfs seaweedfs; do
|
|
echo 'Waiting for SeaweedFS...';
|
|
sleep 2;
|
|
done;
|
|
mc mb seaweedfs/reactive-resume --ignore-existing;
|
|
"
|
|
depends_on:
|
|
seaweedfs:
|
|
condition: service_healthy
|
|
|
|
mailpit:
|
|
image: axllent/mailpit:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- mailpit_data:/data
|
|
ports:
|
|
- "1025:1025"
|
|
- "8025:8025"
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://localhost:8025/"]
|
|
start_period: 10s
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
volumes:
|
|
postgres_data:
|
|
seaweedfs_data:
|
|
mailpit_data:
|