mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 09:01:38 +01:00
add: atlantis webchecks + oidc
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- money-balancer
|
||||
- atlantis-web-check
|
||||
|
||||
- name: Copy AtlantisHub config
|
||||
copy:
|
||||
@@ -103,6 +104,7 @@
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- money-balancer
|
||||
- atlantis-web-check
|
||||
|
||||
- name: Copy compose templates
|
||||
template:
|
||||
@@ -124,6 +126,7 @@
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- money-balancer
|
||||
- atlantis-web-check
|
||||
|
||||
- name: Log into private registry
|
||||
docker_login:
|
||||
@@ -153,6 +156,7 @@
|
||||
- soundlib-interface
|
||||
- python-flask-picture-factory
|
||||
- money-balancer
|
||||
- atlantis-web-check
|
||||
|
||||
- name: OAuth2Proxy directories
|
||||
file:
|
||||
@@ -169,6 +173,7 @@
|
||||
- python-flask-picture-factory
|
||||
- reactive-resume
|
||||
- money-balancer
|
||||
- atlantis-web-check
|
||||
|
||||
- name: include services ports
|
||||
include_vars: services.yaml
|
||||
@@ -187,6 +192,7 @@
|
||||
- python-flask-picture-factory
|
||||
- reactive-resume
|
||||
- money-balancer
|
||||
- atlantis-web-check
|
||||
|
||||
- name: Deploy OAuth2Proxy
|
||||
community.docker.docker_compose:
|
||||
@@ -202,3 +208,4 @@
|
||||
- python-flask-picture-factory
|
||||
- reactive-resume
|
||||
- money-balancer
|
||||
- atlantis-web-check
|
||||
|
||||
42
roles/docker-deployments/templates/atlantis-web-check.yaml
Normal file
42
roles/docker-deployments/templates/atlantis-web-check.yaml
Normal 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
|
||||
Reference in New Issue
Block a user