Optimized role structure in preparation for new backup script

This commit is contained in:
2025-07-16 12:31:01 +02:00
parent e56c960900
commit f9426cfb74
29 changed files with 217 additions and 82 deletions

View File

@@ -13,7 +13,7 @@ ldap:
features:
matomo: true
css: false # Temporary deactivated. Needs to be optimized for production use.
port-ui-desktop: true
port-ui-desktop: true
ldap: true
central_database: true
oauth2: true
@@ -34,8 +34,9 @@ docker:
web:
name: openproject-web
image: openproject/community
version: "13" # Update when available. Sadly no rolling release implemented
no_stop_required: true
version: "13" # Update when available. No rolling release implemented
backup:
no_stop_required: true
seeder:
name: openproject-seeder
cron:
@@ -44,6 +45,10 @@ docker:
name: openproject-worker
proxy:
name: openproject-proxy
cache:
name: openproject-cache
image: "" # If need a specific memcached image you have to define it here, otherwise the version from svc-db-memcached will be used
version: "" # If need a specific memcached version you have to define it here, otherwise the version from svc-db-memcached will be used
volumes:
data: "openproject_data"

View File

@@ -10,8 +10,8 @@ x-op-app: &app
{% include 'roles/docker-compose/templates/base.yml.j2' %}
cache:
image: memcached
container_name: openproject-memcached
image: "{{ openproject_cache_image}}:{{openproject_cache_version }}"
container_name: {{ openproject_cache_name }}
{% include 'roles/docker-container/templates/base.yml.j2' %}
proxy:

View File

@@ -10,6 +10,22 @@ openproject_seeder_name: "{{ applications | get_app_conf(application_id, 'd
openproject_cron_name: "{{ applications | get_app_conf(application_id, 'docker.services.cron.name', True) }}"
openproject_proxy_name: "{{ applications | get_app_conf(application_id, 'docker.services.proxy.name', True) }}"
openproject_worker_name: "{{ applications | get_app_conf(application_id, 'docker.services.worker.name', True) }}"
openproject_cache_name: "{{ applications | get_app_conf(application_id, 'docker.services.cache.name', True) }}"
openproject_cache_image: >-
{{ applications
| get_app_conf(application_id, 'docker.services.cache.image')
or applications
| get_app_conf('svc-db-memcached', 'docker.services.memcached.image')
}}
openproject_cache_version: >-
{{ applications
| get_app_conf(application_id, 'docker.services.cache.version')
or applications
| get_app_conf('svc-db-memcached', 'docker.services.memcached.version')
}}
openproject_plugins_folder: "{{docker_compose.directories.volumes}}plugins/"