feat(hedwig): support hosting multiple hedwig instances on a single server

This commit is contained in:
Jan Christian Grünhage 2023-08-09 10:49:49 +02:00
parent 9da520b565
commit 3af504dd40
No known key found for this signature in database
GPG key ID: EEC1170CE56FA2ED

View file

@ -1,13 +1,15 @@
---
hedwig_user: hedwig
hedwig_base_path: /opt/hedwig
hedwig_user: "{{ hedwig_prefix }}hedwig"
hedwig_base_path: /opt/{{ hedwig_prefix }}hedwig
# prefix used in different places to allow for multiple instances on the same host
hedwig_prefix: ""
hedwig_config_filename: "config.yaml"
hedwig_config_file: "{{ hedwig_base_path }}/{{ hedwig_config_filename }}"
hedwig_fcm_service_account_file: "{{ hedwig_base_path }}/fcm-auth.json"
hedwig_version: "1.5.2"
hedwig_container_name: "hedwig"
hedwig_container_name: "{{ hedwig_prefix }}hedwig"
hedwig_container_image_name: "registry.gitlab.com/famedly/company/backend/services/hedwig"
hedwig_container_image: "{{ hedwig_container_image_name }}:{{ hedwig_container_image_tag | default(['v', hedwig_version] | join()) }}"
hedwig_container_env: {}