add: atlantis webchecks + oidc

This commit is contained in:
2024-02-05 14:29:52 +00:00
parent d2c29ff571
commit 3e27850c2d
4 changed files with 62 additions and 0 deletions

View File

@@ -271,3 +271,14 @@ keycloak_clients:
keycloak_id: "00000000-0000-0000-0000-000000000016" keycloak_id: "00000000-0000-0000-0000-000000000016"
groups: groups:
master_address: "https://money-balancer.atlantishq.de" master_address: "https://money-balancer.atlantishq.de"
atlantis-web-check:
party_secret: "CHISTORY_PURGED_SECRET"
client_id: z_web_check
client_secret: "HISTORY_PURGED_SECRET"
redirect_uris:
- "https://smartchecks.atlantishq.de/*"
description: "SMART Web-Checks"
keycloak_id: "00000000-0000-0000-0000-000000000017"
groups:
master_address: "https://smartchecks.atlantishq.de"

View File

@@ -56,6 +56,7 @@
- soundlib-interface - soundlib-interface
- python-flask-picture-factory - python-flask-picture-factory
- money-balancer - money-balancer
- atlantis-web-check
- name: Copy AtlantisHub config - name: Copy AtlantisHub config
copy: copy:
@@ -103,6 +104,7 @@
- soundlib-interface - soundlib-interface
- python-flask-picture-factory - python-flask-picture-factory
- money-balancer - money-balancer
- atlantis-web-check
- name: Copy compose templates - name: Copy compose templates
template: template:
@@ -124,6 +126,7 @@
- soundlib-interface - soundlib-interface
- python-flask-picture-factory - python-flask-picture-factory
- money-balancer - money-balancer
- atlantis-web-check
- name: Log into private registry - name: Log into private registry
docker_login: docker_login:
@@ -153,6 +156,7 @@
- soundlib-interface - soundlib-interface
- python-flask-picture-factory - python-flask-picture-factory
- money-balancer - money-balancer
- atlantis-web-check
- name: OAuth2Proxy directories - name: OAuth2Proxy directories
file: file:
@@ -169,6 +173,7 @@
- python-flask-picture-factory - python-flask-picture-factory
- reactive-resume - reactive-resume
- money-balancer - money-balancer
- atlantis-web-check
- name: include services ports - name: include services ports
include_vars: services.yaml include_vars: services.yaml
@@ -187,6 +192,7 @@
- python-flask-picture-factory - python-flask-picture-factory
- reactive-resume - reactive-resume
- money-balancer - money-balancer
- atlantis-web-check
- name: Deploy OAuth2Proxy - name: Deploy OAuth2Proxy
community.docker.docker_compose: community.docker.docker_compose:
@@ -202,3 +208,4 @@
- python-flask-picture-factory - python-flask-picture-factory
- reactive-resume - reactive-resume
- money-balancer - money-balancer
- atlantis-web-check

View File

@@ -0,0 +1,42 @@
version: "3.3"
services:
master:
image: harbor-registry.atlantishq.de/atlantishq/atlantis-webcheck-master:latest
restart: always
ports:
- {{ services[item].port + 1000 }}:5000
depends_on:
- queue
volumes:
- /data/atlantis-web-check/instance/:/app/instance/
environment:
- QUEUE_HOST=queue
- QUEUE_NAME=scheduled
- DISPATCH_SERVER={{ event_dispatcher_address }}
- DISPATCH_AUTH_USER={{ event_dispatcher_user }}
- DISPATCH_AUTH_PASSWORD={{ event_dispatcher_pass }}
scheduler:
image: harbor-registry.atlantishq.de/atlantishq/atlantis-webcheck-scheduler:latest
restart: always
depends_on:
- master
environment:
- MASTER_HOST=master:5000
- SLEEP_TIME=1
queue:
image: rabbitmq
restart: always
ports:
- 5672:5672
environment:
- MASTER_HOST=master:5000
- SLEEP_TIME=5
worker:
image: harbor-registry.atlantishq.de/atlantishq/atlantis-webcheck-worker:latest
restart: always
depends_on:
- master
environment:
- MASTER_HOST=master:5000
- QUEUE_HOST=queue
- QUEUE_NAME=scheduled

View File

@@ -27,3 +27,5 @@ services:
port: 5016 port: 5016
money-balancer: money-balancer:
port: 5017 port: 5017
atlantis-web-check:
port: 5018