mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Solved OpenProject build bug
This commit is contained in:
@@ -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
|
@@ -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:
|
||||
|
@@ -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' %}
|
||||
|
Reference in New Issue
Block a user