mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-24 11:06:24 +02:00
Add per-service resource overrides (cpus, mem_reservation, mem_limit, pids_limit) for ollama, mariadb, postgres, confluence, gitlab, jira, keycloak, nextcloud; light formatting fixes in wordpress. Rename service keys from generic 'application/web' to concrete names (jira, confluence, gitlab, keycloak) and update compose templates accordingly. Jira: introduce JIRA_STORAGE_PATH and switch mounts/README accordingly. https://chatgpt.com/share/68d2d96c-9bf4-800f-bbec-d4f2c0051c06
21 lines
848 B
Django/Jinja
21 lines
848 B
Django/Jinja
|
|
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
jira:
|
|
{{ lookup('template', 'roles/docker-container/templates/build.yml.j2') | indent(4) }}
|
|
image: "{{ JIRA_CUSTOM_IMAGE }}"
|
|
container_name: "{{ JIRA_CONTAINER }}"
|
|
hostname: '{{ JIRA_HOSTNAME }}'
|
|
ports:
|
|
- "127.0.0.1:{{ ports.localhost.http[application_id] }}:8080"
|
|
volumes:
|
|
- 'data:{{ JIRA_STORAGE_PATH }}'
|
|
{% include 'roles/docker-container/templates/healthcheck/curl.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
|
|
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
|
data:
|
|
name: {{ JIRA_DATA_VOLUME }}
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %} |