mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-07 17:51:36 +01:00
feat: add atlantis verify
This commit is contained in:
@@ -231,3 +231,14 @@ keycloak_clients:
|
|||||||
keycloak_id: "00000000-0000-0000-0000-000000000013"
|
keycloak_id: "00000000-0000-0000-0000-000000000013"
|
||||||
groups: "pki"
|
groups: "pki"
|
||||||
master_address: "https://harbor-registry.atlantishq.de"
|
master_address: "https://harbor-registry.atlantishq.de"
|
||||||
|
|
||||||
|
atlantis-verify:
|
||||||
|
party_secret: "3HISTORY_PURGED_SECRET"
|
||||||
|
client_id: z_at_verify
|
||||||
|
client_secret: "HISTORY_PURGED_SECRET"
|
||||||
|
redirect_uris:
|
||||||
|
- "https://verify.atlantishq.de/*"
|
||||||
|
description: "Atlantis Verification"
|
||||||
|
keycloak_id: "00000000-0000-0000-0000-000000000014"
|
||||||
|
groups:
|
||||||
|
master_address: "https://verify.atlantishq.de"
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
- event-dispatcher
|
- event-dispatcher
|
||||||
- reactive-resume
|
- reactive-resume
|
||||||
- hedgedoc
|
- hedgedoc
|
||||||
|
- atlantis-verify
|
||||||
|
|
||||||
- name: Copy AtlantisHub config
|
- name: Copy AtlantisHub config
|
||||||
copy:
|
copy:
|
||||||
@@ -93,6 +94,7 @@
|
|||||||
- tor
|
- tor
|
||||||
- reactive-resume
|
- reactive-resume
|
||||||
- hedgedoc
|
- hedgedoc
|
||||||
|
- atlantis-verify
|
||||||
|
|
||||||
- name: Copy compose templates
|
- name: Copy compose templates
|
||||||
template:
|
template:
|
||||||
@@ -111,6 +113,7 @@
|
|||||||
- tor
|
- tor
|
||||||
- reactive-resume
|
- reactive-resume
|
||||||
- hedgedoc
|
- hedgedoc
|
||||||
|
- atlantis-verify
|
||||||
|
|
||||||
- name: Log into private registry
|
- name: Log into private registry
|
||||||
docker_login:
|
docker_login:
|
||||||
@@ -137,6 +140,7 @@
|
|||||||
- tor
|
- tor
|
||||||
- reactive-resume
|
- reactive-resume
|
||||||
- hedgedoc
|
- hedgedoc
|
||||||
|
- atlantis-verify
|
||||||
|
|
||||||
- name: OAuth2Proxy directories
|
- name: OAuth2Proxy directories
|
||||||
file:
|
file:
|
||||||
@@ -148,6 +152,7 @@
|
|||||||
- atlantis-hub
|
- atlantis-hub
|
||||||
- grafana
|
- grafana
|
||||||
- async-icinga
|
- async-icinga
|
||||||
|
- atlantis-verify
|
||||||
|
|
||||||
- name: include services ports
|
- name: include services ports
|
||||||
include_vars: services.yaml
|
include_vars: services.yaml
|
||||||
@@ -161,6 +166,7 @@
|
|||||||
- atlantis-hub
|
- atlantis-hub
|
||||||
- grafana
|
- grafana
|
||||||
- async-icinga
|
- async-icinga
|
||||||
|
- atlantis-verify
|
||||||
|
|
||||||
- name: Deploy OAuth2Proxy
|
- name: Deploy OAuth2Proxy
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose:
|
||||||
@@ -171,3 +177,4 @@
|
|||||||
- atlantis-hub
|
- atlantis-hub
|
||||||
- grafana
|
- grafana
|
||||||
- async-icinga
|
- async-icinga
|
||||||
|
- atlantis-verify
|
||||||
|
|||||||
28
roles/docker-deployments/templates/atlantis-verify.yaml
Normal file
28
roles/docker-deployments/templates/atlantis-verify.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
atlantis-verify:
|
||||||
|
image: harbor-registry.atlantishq.de/atlantishq/atlantis-verify:latest
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
|
||||||
|
LDAP_SERVER: ldap://{{ ldap_server }}
|
||||||
|
LDAP_BIND_DN: {{ ldap_bind_dn }}
|
||||||
|
LDAP_BIND_PW: {{ ldap_password }}
|
||||||
|
LDAP_BASE_DN: {{ ldap_user_dn }}
|
||||||
|
|
||||||
|
DISPATCH_SERVER: {{ event_dispatcher_address }}
|
||||||
|
|
||||||
|
SQLALCHEMY_DATABASE_URI: "instance/database.sqlite"
|
||||||
|
|
||||||
|
KEYCLOAK_URL: https://{{ keycloak_address }}
|
||||||
|
KEYCLOAK_REALM: master
|
||||||
|
KEYCLOAK_ADMIN_USER: admin
|
||||||
|
KEYCLOAK_ADMIN_PASS: {{ keycloak_admin_password }}
|
||||||
|
|
||||||
|
MAIN_HOME: https://hub.atlantishq.de
|
||||||
|
|
||||||
|
DISPATCH_AUTH_USER: {{ event_dispatcher_user }}
|
||||||
|
DISPATCH_AUTH_PASSWORD: {{ event_dispatcher_pass }}
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- 6013:5000
|
||||||
|
volumes:
|
||||||
|
- /data/atlantis-verify/instance/:/app/instance/
|
||||||
@@ -21,3 +21,5 @@ services:
|
|||||||
port: 3000
|
port: 3000
|
||||||
async-icinga:
|
async-icinga:
|
||||||
port: 5006
|
port: 5006
|
||||||
|
atlantis-verify:
|
||||||
|
port: 5013
|
||||||
|
|||||||
Reference in New Issue
Block a user