mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 22:18:32 +01:00
add: money balancer
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
- atlantis-verify
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- money-balancer
|
||||
|
||||
- name: Copy AtlantisHub config
|
||||
copy:
|
||||
@@ -101,6 +102,7 @@
|
||||
- atlantis-verify
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- money-balancer
|
||||
|
||||
- name: Copy compose templates
|
||||
template:
|
||||
@@ -121,6 +123,7 @@
|
||||
- atlantis-verify
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- money-balancer
|
||||
|
||||
- name: Log into private registry
|
||||
docker_login:
|
||||
@@ -149,6 +152,7 @@
|
||||
- atlantis-verify
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- money-balancer
|
||||
|
||||
- name: OAuth2Proxy directories
|
||||
file:
|
||||
@@ -164,6 +168,7 @@
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- reactive-resume
|
||||
- money-balancer
|
||||
|
||||
- name: include services ports
|
||||
include_vars: services.yaml
|
||||
@@ -181,6 +186,7 @@
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- reactive-resume
|
||||
- money-balancer
|
||||
|
||||
- name: Deploy OAuth2Proxy
|
||||
community.docker.docker_compose:
|
||||
@@ -195,3 +201,4 @@
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- reactive-resume
|
||||
- money-balancer
|
||||
|
||||
15
roles/docker-deployments/templates/money-balancer.yaml
Normal file
15
roles/docker-deployments/templates/money-balancer.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: "3"
|
||||
services:
|
||||
money-balancer:
|
||||
image: ghcr.io/dorianim/money-balancer
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- {{ services[item].port + 1000 }}:8000
|
||||
volumes:
|
||||
- /data/money-balancer:/data
|
||||
environment:
|
||||
- MONEYBALANCER_JWT_SECRET=HISTORY_PURGED_SECRET
|
||||
- MONEYBALANCER_AUTH_LOCAL_ENABLED=false
|
||||
- MONEYBALANCER_AUTH_PROXY_ENABLED=true
|
||||
- MONEYBALANCER_AUTH_PROXY_HEADERS_USERNAME=x-forwarded-preferred-username
|
||||
- MONEYBALANCER_AUTH_PROXY_HEADERS_NICKNAME=x-forwarded-preferred-username
|
||||
Reference in New Issue
Block a user