mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
- Improved CSP filter to properly include web-svc-cdn and use protocol-aware domains - Added Todo.md with redis and OIDC notes - Enhanced Akaunting role config with CSP flags and redis option - Updated schema to include app_key validation - Reworked tasks to handle first-run marker logic cleanly - Fixed docker-compose template (marker, healthcheck, setup flag) - Expanded env.j2 with cache, email, proxy, and redis options - Added javascript.js.j2 template for SSO warning - Introduced structured vars for Akaunting role - Removed deprecated update-repository-with-files.yml task See conversation: https://chatgpt.com/share/68af00df-2c74-800f-90b6-6ac5b29acdcb
27 lines
970 B
Django/Jinja
27 lines
970 B
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
application:
|
|
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
{% set container_port = 80 %}
|
|
container_name: {{ AKAUNTING_CONTAINER }}
|
|
image: "{{ AKAUNTING_IMAGE }}:{{ AKAUNTING_VERSION }}"
|
|
build:
|
|
context: {{ docker_repository_path }}
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- 127.0.0.1:{{ ports.localhost.http[application_id] }}:{{ container_port }}
|
|
volumes:
|
|
- data:/var/www/html
|
|
{% if akaunting_setup_enabled | bool %}
|
|
environment:
|
|
- AKAUNTING_SETUP=true
|
|
{% endif %}
|
|
{% include 'roles/docker-container/templates/healthcheck/tcp.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: {{ AKAUNTING_VOLUME }}
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %} |