add: oauth2proxy cert/keycloak for cert manager

This commit is contained in:
2023-06-07 08:01:33 +00:00
parent 2bae3bd42e
commit cdecbe56af
5 changed files with 42 additions and 1 deletions

View File

@@ -71,3 +71,29 @@
pull: true
files:
- "certificate-manager.yaml"
# setup oauth proxy #
- name: include services ports
include_vars: services.yaml
- name: OAuth2Proxy directories
file:
path: "/opt/oauth2proxy/{{ item }}/"
state: directory
recurse: yes
with_items:
- cert-manager
- name: Deploy OAuth2Proxy compose files
template:
src: oauth-standalone-docker-compose.yaml
dest: "/opt/oauth2proxy/{{ item }}/docker-compose.yaml"
with_items:
- cert-manager
- name: Deploy OAuth2Proxy
community.docker.docker_compose:
project_src: /opt/oauth2proxy/{{ item }}/
pull: true
with_items:
- cert-manager

View File

@@ -2,7 +2,7 @@ certificate-manager:
image: registry.atlantishq.de/certificate-manager:latest
restart: always
ports:
- 5000:5000
- 6000:5000
volumes:
- /data/certificate-manager/:/app/data/
extra_hosts: