mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 18:58:10 +02:00
- Add CPU, memory and PID limits to all services in config/main.yml to prevent OOM - Replace old LDAP admin bootstrap with new 02_admin.yml using OPENPROJECT_ADMINISTRATOR_* vars - Standardize variable names (uppercase convention) - Fix HTTPS/HSTS port check (443 instead of 433) - Allow docker_restart_policy override in base.yml.j2 - Cleanup redundant LDAP admin runner in 01_ldap.yml See: https://chatgpt.com/share/68d40c6e-ab9c-800f-a4a0-d9338d8c1b32
23 lines
998 B
Django/Jinja
23 lines
998 B
Django/Jinja
##
|
|
# All environment variables defined here will only apply if you pass them
|
|
# to the OpenProject container in docker-compose.yml under x-op-app -> environment.
|
|
# For the examples here this is already the case.
|
|
#
|
|
# Please refer to our documentation to see all possible variables:
|
|
# https://www.openproject.org/docs/installation-and-operations/configuration/environment/
|
|
#
|
|
OPENPROJECT_HTTPS={{ WEB_PORT == 443 | string | lower }}
|
|
OPENPROJECT_HOST__NAME={{ domains | get_domain(application_id) }}
|
|
OPENPROJECT_RAILS__RELATIVE__URL__ROOT=
|
|
IMAP_ENABLED=false
|
|
OPENPROJECT_HSTS={{ WEB_PORT == 443 | string | lower }}
|
|
RAILS_CACHE_STORE: "memcache"
|
|
OPENPROJECT_CACHE__MEMCACHE__SERVER: "cache:11211"
|
|
OPENPROJECT_RAILS__RELATIVE__URL__ROOT: ""
|
|
|
|
# Database
|
|
POSTGRES_PASSWORD="{{ database_password }}"
|
|
DATABASE_URL="{{ database_url_full }}?pool=20&encoding=unicode&reconnect=true"
|
|
DB_POOL="{{ POSTGRES_ALLOWED_AVG_CONNECTIONS }}"
|
|
RAILS_MAX_THREADS="{{ POSTGRES_ALLOWED_AVG_CONNECTIONS }}"
|
|
RAILS_MIN_THREADS=4 |