Personal hosted resume builder
5.4K
![]()
PUBLIC_URL=http://hostip:3000 and PUBLIC_SERVER_URL=http://hostip:3100 look the env part.env### Addiotional env may added after this write, also refer https://github.com/AmruthPillai/Reactive-Resume/blob/main/.env.example
#App
PORT=3000
# Auth Secrets
# generated with `openssl rand -base64 64`
ACCESS_TOKEN_SECRET=
REFRESH_TOKEN_SECRET=
# Database
POSTGRES_HOST=db
POSTGRES_PORT=5432
POSTGRES_USER=reactiveresume
POSTGRES_PASSWORD=reactiveresumepass
POSTGRES_DB=reactiveresume
POSTGRES_SSL_CERT=
# Database (Prisma/PostgreSQL)
DATABASE_URL=postgresql://reactiveresume:reactiveresumepass@db:5432/postgres?schema=public
# Redis (for cache & server session management)
REDIS_URL=redis://redis:6379
# S3 Storage
## Adjust the port also if deployed on different port
STORAGE_URL="http://host-ip:9000"
STORAGE_ENDPOINT="host-ip"
STORAGE_PORT=9000
STORAGE_REGION=us-east-1
STORAGE_BUCKET=reactiveresume
STORAGE_ACCESS_KEY=minioadmin
STORAGE_SECRET_KEY=minioadmin
# Chrome Browser (for printing)
CHROME_PORT=3000
# generated with `openssl rand -hex 32`
CHROME_TOKEN=d3f897e76179915771c716fe6284cae80be29801fa4f4db9f211e7fc5dfd4aa4
CHROME_URL=ws://chrome:3000
# Can user register?
#PUBLIC_FLAG_DISABLE_SIGNUPS=false
# Client
PUBLIC_URL=http://host-ip:3000
version: "3.8"
services:
app:
image: martadinata666/reactive-resume:v4.0.0
restart: always
environment:
- TZ=Asia/Jakarta
env_file:
- env.v4
networks:
- resume
ports:
- 3000:3000
minio:
image: minio/minio
restart: unless-stopped
command: server /data
ports:
- 9000:9000
volumes:
- minio_data:/data
networks:
- resume
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
db:
image: postgres:13
user: 1000:1000
environment:
- POSTGRES_USER=reactiveresume
- POSTGRES_PASSWORD=reactiveresumepass
- POSTGRES_DB=reactiveresume
restart: always
volumes:
- ./db:/var/lib/postgresql/data
networks:
- resume
redis:
image: redis:latest
environment:
- TZ=Asia/Jakarta
volumes:
- redis-db:/data
restart: unless-stopped
networks:
- resume
chrome:
image: browserless/chrome:latest
env_file:
- env.v4
networks:
- resume
networks:
resume:
name: resume4
volumes:
redis-db:
db:
minio_data:
NODE_ENV=development resulting the backend/server always at http://localhost, suit for all in one image. Different implementation please refer official Reactive-Resume guideenv fileCreate an env file, in same directory as docker-compose.yml or manually add to environment: part of compose.
# App
TZ=UTC
SECRET_KEY=
# Database
POSTGRES_HOST=db
POSTGRES_PORT=5432
POSTGRES_USER=reactiveresume
POSTGRES_PASSWORD=reactiveresumepass
POSTGRES_DB=reactiveresume
POSTGRES_SSL_CERT=
# Auth
JWT_SECRET=
JWT_EXPIRY_TIME=604800
# Google
# https://developers.google.com/fonts/docs/developer_api
GOOGLE_API_KEY=
# Can user register?
PUBLIC_FLAG_DISABLE_SIGNUPS=true
# Set client and server url, chage to computer IP
PUBLIC_URL=http://localhost:3000
PUBLIC_SERVER_URL=http://localhost:3100
# Disabling S3 storage, not needed v3.6.5 onward
#STORAGE_S3_ENABLED=false
version: "3.8"
services:
app:
image: martadinata666/reactive-resume:latest
env_file:
- env
environment:
- TZ=UTC
networks:
- reactiveresume
ports:
- 3000:3000
- 3100:3100
volumes:
- /path/to/uploads:/home/docker/reactiveresume/server/dist/assets/uploads
- /path/to/exports:/home/docker/reactiveresume/server/dist/assets/exports #photo and export storage
restart: unless-stopped
db:
image: postgres:13
user: 1000:1000 #debian image had user override feature, not working on alpine image
environment:
- POSTGRES_USER=reactiveresume
- POSTGRES_PASSWORD=reactiveresumepass
- POSTGRES_DB=reactiveresume
restart: unless-stopped
volumes:
- db:/var/lib/postgresql/data
networks:
- reactiveresume
networks:
- reactiveresume
volumes:
db:
networks:
reactiveresume:
name: reactiveresume
Content type
Image
Digest
sha256:7d2c9be84…
Size
365.6 MB
Last updated
over 2 years ago
docker pull martadinata666/reactive-resume