mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 22:31:15 +01:00
94 lines
2.1 KiB
YAML
94 lines
2.1 KiB
YAML
version: "3.8"
|
|
services:
|
|
minio:
|
|
image: minio/minio
|
|
restart: unless-stopped
|
|
command: server /data
|
|
ports:
|
|
- 9000:9000
|
|
volumes:
|
|
- /data/reactive-resume/minio/:/data
|
|
networks:
|
|
- resume
|
|
environment:
|
|
MINIO_ROOT_USER: minioadmin
|
|
MINIO_ROOT_PASSWORD: HISTORY_PURGED_SECRET
|
|
|
|
db:
|
|
image: postgres:13
|
|
environment:
|
|
- POSTGRES_USER=reactiveresume
|
|
- POSTGRES_PASSWORD=HISTORY_PURGED_SECRET
|
|
- POSTGRES_DB=reactiveresume
|
|
restart: always
|
|
volumes:
|
|
- /data/reative-resume-postgres/:/var/lib/postgresql/data
|
|
networks:
|
|
- resume
|
|
|
|
redis:
|
|
image: redis:latest
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
restart: unless-stopped
|
|
networks:
|
|
- resume
|
|
|
|
chrome:
|
|
image: browserless/chrome:latest
|
|
networks:
|
|
- resume
|
|
|
|
app:
|
|
image: amruthpillai/reactive-resume:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- 5005:3000
|
|
networks:
|
|
- resume
|
|
depends_on:
|
|
- db
|
|
- minio
|
|
- redis
|
|
- chrome
|
|
environment:
|
|
# -- Environment Variables --
|
|
PORT: 3000
|
|
NODE_ENV: production
|
|
|
|
# -- URLs --
|
|
PUBLIC_URL: https://resume.atlantishq.de
|
|
STORAGE_URL: http://localhost:9000
|
|
|
|
# -- Printer (Chrome) --
|
|
CHROME_TOKEN: chrome_token
|
|
CHROME_URL: ws://chrome:3000
|
|
|
|
# -- Database (Postgres) --
|
|
DATABASE_URL: postgresql://reactiveresume:HISTORY_PURGED_SECRET@db:5432/postgres
|
|
|
|
# -- Auth --
|
|
ACCESS_TOKEN_SECRET: HISTORY_PURGED_SECRET
|
|
REFRESH_TOKEN_SECRET: HISTORY_PURGED_SECRET
|
|
|
|
# -- Emails --
|
|
MAIL_FROM: noreply@atlantishq.de
|
|
SMTP_URL: smtp://{{ smtp_service_user }}@atlantishq.de:{{ smtp_service_pass }}@{{ smtp_internal_host }}:{{ smtp_internal_host_port }}
|
|
|
|
# -- Storage (Minio) --
|
|
STORAGE_ENDPOINT: minio
|
|
STORAGE_PORT: 9000
|
|
STORAGE_BUCKET: default
|
|
STORAGE_ACCESS_KEY: minioadmin
|
|
STORAGE_SECRET_KEY: HISTORY_PURGED_SECRET
|
|
|
|
# -- Cache (Redis) --
|
|
REDIS_URL: redis://default:password@redis:6379
|
|
|
|
# -- Email (Optional) --
|
|
# DISABLE_EMAIL_AUTH: true
|
|
# VITE_DISABLE_SIGNUPS: true
|
|
|
|
networks:
|
|
resume:
|