mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-27 23:26:47 +00:00
This commit adds dynamic upload size configuration (upload_max_filesize + post_max_size), introduces a dedicated php-upload.ini template, mounts it through Docker Compose, renumbers all task files consistently, updates main.yml flow, and overrides client_max_body_size inside the logout role. Improves clarity, consistency, and brings Joomla in line with other IN roles. See: https://chatgpt.com/share/6927075c-4de0-800f-bcee-b1f5193e4a99
21 lines
898 B
Django/Jinja
21 lines
898 B
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
application:
|
|
{{ lookup('template', 'roles/docker-container/templates/build.yml.j2') | indent(4) }}
|
|
image: "{{ JOOMLA_CUSTOM_IMAGE }}"
|
|
container_name: {{ JOOMLA_CONTAINER }}
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
volumes:
|
|
- data:/var/www/html
|
|
- {{ JOOMLA_UPLOAD_CONFIG }}:/usr/local/etc/php/conf.d/uploads.ini:ro
|
|
ports:
|
|
- "127.0.0.1:{{ ports.localhost.http[application_id] }}:{{ container_port }}"
|
|
{% include 'roles/docker-container/templates/healthcheck/curl.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
|
|
|
|
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
|
data:
|
|
name: {{ JOOMLA_VOLUME }}
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|