Files
computer-playbook/roles/web-app-openproject/config/main.yml
Kevin Veen-Birkenbach f55b0ca797 web-app-openproject: migrate from OpenProject 13 to 14
- 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
2025-09-25 19:10:46 +02:00

84 lines
2.6 KiB
YAML

oauth2_proxy:
application: "proxy"
port: "80"
acl:
whitelist:
- "/users/me" # Necessary for Nextcloud Plugin to work
- "/api/" # Necessary for Nextcloud Plugin to work
- "/oauth/token" # Necessary for Nextcloud Plugin to work
ldap:
filters:
administrators: False # Set true to filter administrators
users: False # Set true to filter users
features:
matomo: true
css: false # Temporary deactivated. Needs to be optimized for production use.
desktop: true
ldap: true
central_database: true
oauth2: true
logout: true
server:
csp:
flags:
script-src-elem:
unsafe-inline: true
style-src:
unsafe-inline: true
whitelist:
font-src:
- "data:"
domains:
canonical:
- "open.project.{{ PRIMARY_DOMAIN }}"
aliases: []
docker:
services:
database:
enabled: true
web:
name: openproject-web
image: openproject/openproject
version: "14" # Update when available. No rolling release implemented
backup:
no_stop_required: true
cpus: "3.0"
mem_reservation: "3g"
mem_limit: "4g"
pids_limit: 2048
seeder:
name: openproject-seeder
cpus: "0.3"
mem_reservation: "256m"
mem_limit: "512m"
pids_limit: 256
cron:
name: openproject-cron
cpus: "0.3"
mem_reservation: "256m"
mem_limit: "512m"
pids_limit: 256
worker:
name: openproject-worker
cpus: "2.0"
mem_reservation: "2g"
mem_limit: "3g"
pids_limit: 2048
proxy:
name: openproject-proxy
cpus: "0.3"
mem_reservation: "256m"
mem_limit: "512m"
pids_limit: 256
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
cpus: "0.3"
mem_reservation: "512m"
mem_limit: "512m"
pids_limit: 256
volumes:
data: "openproject_data"