mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 18:58:10 +02:00
- updated base image from openproject/community:13 to openproject/openproject:14 - added dedicated migration task (db:migrate + schema cache clear) - moved settings, ldap, and admin tasks to separate files - adjusted docker-compose template to use OPENPROJECT_WEB_SERVICE / OPENPROJECT_SEEDER_SERVICE variables - replaced postinstall.sh with precompile-assets.sh - ensured depends_on uses variable-based service names Ref: https://chatgpt.com/share/68d57770-2430-800f-ae53-e7eda6993a8d
14 lines
671 B
Django/Jinja
14 lines
671 B
Django/Jinja
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
|
|
# path inside of the container. Say for `/app/vendor/plugins/openproject-slack`:
|
|
# COPY /path/to/my/local/openproject-slack /app/vendor/plugins/openproject-slack
|
|
|
|
COPY volumes/plugins/Gemfile.plugins /app/
|
|
|
|
# If the plugin uses any external NPM dependencies you have to install them here.
|
|
# RUN npm add npm <package-name>*
|
|
|
|
RUN bundle config unset deployment && bundle install && bundle config set deployment 'true'
|
|
RUN ./docker/prod/setup/precompile-assets.sh |