add: oauth grafana support

This commit is contained in:
2023-06-30 16:40:55 +00:00
parent 02dfce99e0
commit 911ea0ee0f
7 changed files with 1521 additions and 25 deletions

View File

@@ -39,6 +39,7 @@
with_items:
- tmnf-replay-server
- atlantis-hub
- grafana
- name: Copy AtlantisHub config
copy:
@@ -59,6 +60,11 @@
src: "atlantis-hub-content/static-icons/"
dest: "/data/atlantis-hub/static-icons/"
- name: Copy AtlantisHub static icons
template:
src: "grafana.ini"
dest: "/data/grafana/grafana.ini"
- name: Create compose directories
file:
name: "/opt/{{ item }}"
@@ -71,6 +77,7 @@
- async-icinga
- tmnf-replay-server
- atlantis-hub
- grafana
- name: Copy compose templates
template:
@@ -84,6 +91,7 @@
- async-icinga
- tmnf-replay-server
- atlantis-hub
- grafana
- name: Log into private registry
docker_login:
@@ -105,6 +113,7 @@
- async-icinga
- tmnf-replay-server
- atlantis-hub
- grafana
- name: OAuth2Proxy directories
file:
@@ -114,6 +123,7 @@
with_items:
- tmnf-replay-server
- atlantis-hub
- grafana
- name: include services ports
include_vars: services.yaml
@@ -125,6 +135,7 @@
with_items:
- tmnf-replay-server
- atlantis-hub
- grafana
- name: Deploy OAuth2Proxy
community.docker.docker_compose:
@@ -133,3 +144,4 @@
with_items:
- tmnf-replay-server
- atlantis-hub
- grafana

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,10 @@
grafana:
ports:
- 3000:3000
- 4000:3000
image: grafana/grafana-oss
restart: always
volumes:
- "/var/grafana:/var/lib/grafana"
- "/data/grafana/grafana-var/:/var/lib/grafana"
- "/data/grafana/grafana.ini:/etc/grafana/grafana.ini"
environment:
GF_INSTALL_PLUGINS : "grafana-clock-panel,grafana-simple-json-datasource"