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
13 lines
362 B
Django/Jinja
13 lines
362 B
Django/Jinja
{# Base for docker services #}
|
|
|
|
restart: {{ docker_restart_policy | default(DOCKER_RESTART_POLICY) }}
|
|
{% if application_id | has_env %}
|
|
env_file:
|
|
- "{{ docker_compose.files.env }}"
|
|
{% endif %}
|
|
logging:
|
|
driver: journald
|
|
{% filter indent(4) %}
|
|
{% include 'roles/docker-container/templates/resource.yml.j2' %}
|
|
{% endfilter %}
|
|
{{ "\n" }} |