mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-27 16:29:32 +00:00
The previous entrypoint script used 'set -euo pipefail', which caused runtime errors because /bin/sh (Dash/BusyBox) does not support 'pipefail'. This commit makes the entrypoint fully POSIX-safe, adds robust fallbacks for missing scripts, and improves logging. Also removes a trailing newline in the navigator Docker Compose template. Related ChatGPT discussion: https://chatgpt.com/share/68eab0b7-7a64-800f-a8aa-e7d7262a262e
16 lines
651 B
Django/Jinja
16 lines
651 B
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
infinito-presentation:
|
|
build:
|
|
context: {{ path_infinito_presentation_output.stdout }}
|
|
dockerfile: {{ path_infinito_presentation_output.stdout }}/Dockerfile
|
|
pull_policy: never
|
|
ports:
|
|
- "127.0.0.1:{{ ports.localhost.http[application_id] }}:5000"
|
|
volumes:
|
|
- {{ path_infinito_presentation_output.stdout }}:/app
|
|
- {{ path_infinito_output.stdout }}:/source
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|