From 65663fbe43e424e3e89c17a086a3a13a50d058e2 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Thu, 8 Feb 2024 15:00:42 +0000 Subject: [PATCH] add: gotify docker setup --- group_vars/all.yaml | 3 +++ roles/docker-deployments/tasks/main.yaml | 4 ++++ roles/docker-deployments/templates/gotify.yaml | 11 +++++++++++ 3 files changed, 18 insertions(+) create mode 100644 roles/docker-deployments/templates/gotify.yaml diff --git a/group_vars/all.yaml b/group_vars/all.yaml index 3765a6e..752c185 100644 --- a/group_vars/all.yaml +++ b/group_vars/all.yaml @@ -45,6 +45,9 @@ SOUNDLIB_AWS_ACCESS_KEY_ID: HISTORY_PURGED_SECRET SOUNDLIB_AWS_SECRET_ACCESS_KEY: HISTORY_PURGED_SECRET SOUNDLIB_S3_ENDPOINT: HISTORY_PURGED_SECRET +# gotify # +gotify_user: admin +gotify_password: HISTORY_PURGED_SECRET # overwritten in monitoring master group var monitoring_master: false diff --git a/roles/docker-deployments/tasks/main.yaml b/roles/docker-deployments/tasks/main.yaml index 987b26f..4917c1c 100644 --- a/roles/docker-deployments/tasks/main.yaml +++ b/roles/docker-deployments/tasks/main.yaml @@ -57,6 +57,7 @@ - python-flask-picture-factory - money-balancer - atlantis-web-check + - gotify - name: Copy AtlantisHub config copy: @@ -105,6 +106,7 @@ - python-flask-picture-factory - money-balancer - atlantis-web-check + - gotify - name: Copy compose templates template: @@ -127,6 +129,7 @@ - python-flask-picture-factory - money-balancer - atlantis-web-check + - gotify - name: Log into private registry docker_login: @@ -157,6 +160,7 @@ - python-flask-picture-factory - money-balancer - atlantis-web-check + - gotify - name: OAuth2Proxy directories file: diff --git a/roles/docker-deployments/templates/gotify.yaml b/roles/docker-deployments/templates/gotify.yaml new file mode 100644 index 0000000..fcc2ad3 --- /dev/null +++ b/roles/docker-deployments/templates/gotify.yaml @@ -0,0 +1,11 @@ +gotify: + image: gotify/server + restart: always + environment: + - TZ="Europe/Berlin" + - GOTIFY_DEFAULTUSER_NAME={{ gotify_user }} + - GOTIFY_DEFAULTUSER_PASS={{ gotify_password }} + ports: + - 4001:80 + volumes: + - /data/gotify/data:/app/data