mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 11:17:17 +02:00
21 lines
774 B
Django/Jinja
21 lines
774 B
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
|
|
application:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
BRIDGY_REPO_URL: "{{ BRIDGY_REPO_URL }}"
|
|
BRIDGY_REPO_BRANCH: "{{ BRIDGY_REPO_BRANCH }}"
|
|
CONTAINER_PORT: "{{ container_port | string }}"
|
|
image: "{{ BRIDGY_IMAGE }}:{{ BRIDGY_VERSION }}"
|
|
container_name: "{{ BRIDGY_CONTAINER }}"
|
|
hostname: "{{ container_hostname }}"
|
|
ports:
|
|
- "127.0.0.1:{{ http_port }}:{{ container_port }}"
|
|
{% include 'roles/docker-container/templates/healthcheck/tcp.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|