mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 22:18:32 +01:00
add: reactive resume
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
- grafana
|
||||
- harbor
|
||||
- event-dispatcher
|
||||
- reactive-resume
|
||||
|
||||
- name: Copy Harbor Registry config
|
||||
copy:
|
||||
@@ -95,6 +96,7 @@
|
||||
- grafana
|
||||
- event-dispatcher
|
||||
- tor
|
||||
- reactive-resume
|
||||
|
||||
- name: Copy compose templates
|
||||
template:
|
||||
@@ -112,6 +114,7 @@
|
||||
- grafana
|
||||
- event-dispatcher
|
||||
- tor
|
||||
- reactive-resume
|
||||
|
||||
- name: Log into private registry
|
||||
docker_login:
|
||||
@@ -145,6 +148,7 @@
|
||||
- grafana
|
||||
- event-dispatcher
|
||||
- tor
|
||||
- reactive-resume
|
||||
|
||||
- name: OAuth2Proxy directories
|
||||
file:
|
||||
|
||||
93
roles/docker-deployments/templates/reactive-resume.yaml
Normal file
93
roles/docker-deployments/templates/reactive-resume.yaml
Normal file
@@ -0,0 +1,93 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user