chore: update to docker compose v2

This commit is contained in:
2024-05-16 18:31:56 +00:00
parent bf5bb80fd5
commit 7fc56a7c3a
16 changed files with 64 additions and 61 deletions

View File

@@ -1,40 +1,41 @@
event-dispatcher:
ports:
- 5007:5000
image: registry.atlantishq.de/athq/event-dispatcher
restart: always
volumes:
- "/data/event-dispatcher/instance/:/app/instance/"
environment:
LDAP_SERVER : "{{ ldap_connection_url }}"
LDAP_BIND_DN : "{{ ldap_bind_dn }}"
LDAP_BIND_PW : "{{ ldap_password }}"
LDAP_BASE_DN : "{{ ldap_user_dn }}"
DISPATCH_ACCESS_TOKEN: "{{ event_dispatcher_pass }}"
SETTINGS_ACCESS_TOKEN: "{{ notification_settings_access_token }}"
event-dispatcher-worker:
image: registry.atlantishq.de/athq/event-dispatcher-worker
restart: always
environment:
DISPATCH_SERVER: "{{ event_dispatcher_proto }}://{{ event_dispatcher_host }}"
DISPATCH_ACCESS_TOKEN: "{{ event_dispatcher_pass }}"
NTFY_PUSH_TARGET: "{{ ntfy_push_target }}"
NTFY_USER: "admin"
NTFY_PASS: "{{ ntfy_api_access_token }}"
NTFY_API_SERVER: "{{ ntfy_api_target }}"
NTFY_API_TOKEN: "{{ ntfy_api_access_token }}"
LDAP_SERVER : "{{ ldap_connection_url }}"
LDAP_BIND_DN : "{{ ldap_bind_dn }}"
LDAP_BIND_PW : "{{ ldap_password }}"
LDAP_BASE_DN : "{{ ldap_user_dn }}"
SMTP_TARGET: "{{ smtp_internal_host }}"
SMTP_PORT: "{{ smtp_internal_host_port }}"
SMTP_USER: "{{ smtp_service_user }}@atlantishq.de"
SMTP_PASS: "{{ smtp_service_pass }}"
services:
event-dispatcher:
ports:
- 5007:5000
image: harbor-registry.atlantishq.de/atlantishq/event-dispatcher
restart: always
volumes:
- "/data/event-dispatcher/instance/:/app/instance/"
environment:
LDAP_SERVER : "{{ ldap_connection_url }}"
LDAP_BIND_DN : "{{ ldap_bind_dn }}"
LDAP_BIND_PW : "{{ ldap_password }}"
LDAP_BASE_DN : "{{ ldap_user_dn }}"
DISPATCH_ACCESS_TOKEN: "{{ event_dispatcher_pass }}"
SETTINGS_ACCESS_TOKEN: "{{ notification_settings_access_token }}"
event-dispatcher-worker:
image: harbor-registry.atlantishq.de/atlantishq/event-dispatcher-worker
restart: always
environment:
DISPATCH_SERVER: "{{ event_dispatcher_proto }}://{{ event_dispatcher_host }}"
DISPATCH_ACCESS_TOKEN: "{{ event_dispatcher_pass }}"
NTFY_PUSH_TARGET: "{{ ntfy_push_target }}"
NTFY_USER: "admin"
NTFY_PASS: "{{ ntfy_api_access_token }}"
NTFY_API_SERVER: "{{ ntfy_api_target }}"
NTFY_API_TOKEN: "{{ ntfy_api_access_token }}"
LDAP_SERVER : "{{ ldap_connection_url }}"
LDAP_BIND_DN : "{{ ldap_bind_dn }}"
LDAP_BIND_PW : "{{ ldap_password }}"
LDAP_BASE_DN : "{{ ldap_user_dn }}"
SMTP_TARGET: "{{ smtp_internal_host }}"
SMTP_PORT: "{{ smtp_internal_host_port }}"
SMTP_USER: "{{ smtp_service_user }}@atlantishq.de"
SMTP_PASS: "{{ smtp_service_pass }}"