Files
computer-playbook/roles/web-app-openproject/config/main.yml
Kevin Veen-Birkenbach 598f4e854a Increase OpenProject container resources
- Raised web service to 3 CPUs, 3–4 GB RAM, 2048 pids
- Raised worker service to 2 CPUs, 2–3 GB RAM, 2048 pids
- Increased cache mem_reservation to 512m
- Adjusted formatting for proxy service

Ref: https://chatgpt.com/share/68d513c1-8c10-800f-bf57-351754e3f5c2
2025-09-25 12:05:03 +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/community
version: "13" # 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"