Solved OpenProject build bug

This commit is contained in:
2025-04-16 00:56:29 +02:00
parent 4b824ecd6c
commit 567622f523
12 changed files with 659 additions and 705 deletions

View File

@@ -1,8 +0,0 @@
---
- name: rebuild custom openproject docker image
command:
cmd: docker build --no-cache -t {{custom_openproject_image}} .
chdir: "{{openproject_plugins_service}}"
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600

View File

@@ -21,16 +21,14 @@
src: Gemfile.plugins
dest: "{{openproject_plugins_service}}Gemfile.plugins"
notify:
- docker compose project setup
- rebuild custom openproject docker image
- docker compose project build and setup
- name: "Transfering Dockerfile to {{openproject_plugins_service}}Dockerfile"
template:
src: Dockerfile
dest: "{{openproject_plugins_service}}Dockerfile"
notify:
- docker compose project setup
- rebuild custom openproject docker image
- docker compose project build and setup
- name: "include role docker-repository-setup for {{application_id}}"
include_role:

View File

@@ -6,6 +6,9 @@ x-op-app: &app
volumes:
- "data:/var/openproject/assets"
- "{{dummy_volume}}:/var/openproject/pgdata" # This mount is unnecessary and just done to prevent anonymous volumes
build:
context: {{openproject_plugins_service}}
dockerfile: Dockerfile
services:
{% include 'roles/docker-central-database/templates/services/' + database_type + '.yml.j2' %}