Restructure and cleaned up in preparation of new backup logic

This commit is contained in:
2025-07-15 23:51:51 +02:00
parent c8054ffbc3
commit af3ea9039c
106 changed files with 703 additions and 429 deletions

View File

@@ -1,4 +1,4 @@
FROM openproject/community:{{applications.openproject.version}}
FROM {{ openproject_image }}:{{ openproject_version }}
# If installing a local plugin (using `path:` in the `Gemfile.plugins` above),
# you will have to copy the plugin code into the container here and use the

View File

@@ -17,7 +17,7 @@ x-op-app: &app
proxy:
{% include 'roles/docker-container/templates/base.yml.j2' %}
image: {{custom_openproject_image}}
container_name: openproject-proxy
container_name: {{ openproject_proxy_name }}
command: "./docker/prod/proxy"
ports:
- "127.0.0.1:{{ports.localhost.http[application_id]}}:80"
@@ -33,7 +33,7 @@ x-op-app: &app
<<: *app
{% include 'roles/docker-container/templates/base.yml.j2' %}
command: "./docker/prod/web"
container_name: openproject-web
container_name: {{ openproject_web_name }}
{% include 'roles/docker-container/templates/networks.yml.j2' %}
{% include 'roles/docker-container/templates/depends_on/dmbs_incl.yml.j2' %}
cache:
@@ -51,7 +51,7 @@ x-op-app: &app
<<: *app
{% include 'roles/docker-container/templates/base.yml.j2' %}
command: "./docker/prod/worker"
container_name: openproject-worker
container_name: {{ openproject_worker_name }}
{% include 'roles/docker-container/templates/networks.yml.j2' %}
{% include 'roles/docker-container/templates/depends_on/dmbs_incl.yml.j2' %}
cache:
@@ -67,7 +67,7 @@ x-op-app: &app
<<: *app
{% include 'roles/docker-container/templates/base.yml.j2' %}
command: "./docker/prod/cron"
container_name: openproject-cron
container_name: {{ openproject_cron_name }}
{% include 'roles/docker-container/templates/networks.yml.j2' %}
{% include 'roles/docker-container/templates/depends_on/dmbs_incl.yml.j2' %}
cache:
@@ -81,7 +81,7 @@ x-op-app: &app
seeder:
<<: *app
command: "./docker/prod/seeder"
container_name: openproject-seeder
container_name: {{ openproject_seeder_name }}
env_file:
- "{{docker_compose.files.env}}"
logging:
@@ -94,5 +94,6 @@ x-op-app: &app
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
data:
name: {{ openproject_volume }}
{% include 'roles/docker-compose/templates/networks.yml.j2' %}