2024-04-08 14:45:26 +00:00
|
|
|
# documentation: https://rxresu.me/
|
2024-04-16 10:42:12 +00:00
|
|
|
# slogan: A one-of-a-kind resume builder that keeps your privacy in mind.
|
2024-04-08 14:45:26 +00:00
|
|
|
# tags: reactive-resume,resume-builder,open-source,2fa
|
|
|
|
# logo: svgs/rxresume.svg
|
|
|
|
# port: 3000
|
|
|
|
|
|
|
|
services:
|
|
|
|
reactive-resume:
|
|
|
|
image: amruthpillai/reactive-resume:latest
|
|
|
|
environment:
|
|
|
|
- SERVICE_FQDN_REACTIVERESUME_3000
|
2024-04-16 10:42:12 +00:00
|
|
|
- PUBLIC_URL=$SERVICE_FQDN_REACTIVERESUME
|
2024-04-08 14:45:26 +00:00
|
|
|
- STORAGE_URL=http://minio
|
|
|
|
- DATABASE_URL=postgresql://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgres:5432/${POSTGRES_DB:-postgres}
|
|
|
|
- ACCESS_TOKEN_SECRET=$SERVICE_PASSWORD_ACCESSTOKEN
|
|
|
|
- REFRESH_TOKEN_SECRET=$SERVICE_PASSWORD_REFRESHTOKEN
|
|
|
|
- CHROME_TOKEN=$SERVICE_PASSWORD_CHROMETOKEN
|
|
|
|
- CHROME_URL=ws://chrome:3000
|
|
|
|
- REDIS_URL=redis://redis:6379
|
|
|
|
- STORAGE_ENDPOINT=minio
|
|
|
|
- STORAGE_PORT=9000
|
|
|
|
- STORAGE_REGION=us-east-1
|
|
|
|
- STORAGE_BUCKET=default
|
|
|
|
- STORAGE_ACCESS_KEY=$SERVICE_USER_MINIO
|
|
|
|
- STORAGE_SECRET_KEY=$SERVICE_PASSWORD_MINIO
|
|
|
|
- STORAGE_USE_SSL=false
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- minio
|
|
|
|
- chrome
|
|
|
|
postgres:
|
|
|
|
image: postgres:16-alpine
|
|
|
|
environment:
|
|
|
|
- POSTGRES_DB=${POSTGRES_DB:-postgres}
|
|
|
|
- POSTGRES_USER=$SERVICE_USER_POSTGRES
|
|
|
|
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
|
|
|
volumes:
|
|
|
|
- postgres-data:/var/lib/postgresql/data
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
|
|
|
interval: 5s
|
|
|
|
timeout: 20s
|
|
|
|
retries: 10
|
|
|
|
|
|
|
|
minio:
|
|
|
|
image: quay.io/minio/minio:latest
|
|
|
|
command: server /data --console-address ":9001"
|
|
|
|
environment:
|
|
|
|
- MINIO_ROOT_USER=$SERVICE_USER_MINIO
|
|
|
|
- MINIO_ROOT_PASSWORD=$SERVICE_PASSWORD_MINIO
|
|
|
|
volumes:
|
|
|
|
- minio-data:/data
|
2024-04-16 10:42:12 +00:00
|
|
|
healthcheck:
|
2024-05-17 08:11:55 +00:00
|
|
|
test: ["CMD", "curl", "-f", "http://127.0.0.1:9000/minio/health/live"]
|
2024-04-16 10:42:12 +00:00
|
|
|
interval: 5s
|
|
|
|
timeout: 20s
|
|
|
|
retries: 10
|
2024-04-08 14:45:26 +00:00
|
|
|
|
|
|
|
chrome:
|
|
|
|
image: ghcr.io/browserless/chrome:latest
|
|
|
|
environment:
|
|
|
|
- HEALTH=true
|
|
|
|
- TIMEOUT=10000
|
|
|
|
- CONCURRENT=10
|
|
|
|
- TOKEN=$SERVICE_PASSWORD_CHROMETOKEN
|
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:alpine
|
|
|
|
command: redis-server
|
|
|
|
volumes:
|
|
|
|
- redis_data:/data
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
|
|
interval: 5s
|
|
|
|
timeout: 20s
|
|
|
|
retries: 10
|