mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-22 16:21:09 +02:00
19 lines
774 B
Django/Jinja
19 lines
774 B
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
|
|
application:
|
|
{% set container_port = 80 %}
|
|
{% set container_healthcheck = 'http://127.0.0.1/admin/' %}
|
|
image: "{{ yourls_image }}:{{ yourls_version }}"
|
|
container_name: "{{ yourls_container }}"
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
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/depends_on/dmbs_excl.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
|
|
{% include 'roles/docker-compose/templates/volumes-just-database.yml.j2' %}
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|