mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-19 15:04:23 +02:00
24 lines
915 B
Django/Jinja
24 lines
915 B
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
|
|
application:
|
|
{% set container_port = 9000 %}
|
|
image: chocobozzz/peertube:production-{{ applications | get_app_conf(application_id, 'version', True) }}
|
|
container_name: {{ container_name }}
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
ports:
|
|
- "1935:1935" # @todo Add to ports
|
|
- "127.0.0.1:{{ports.localhost.http[application_id]}}:{{ container_port }}"
|
|
volumes:
|
|
- assets:/app/client/dist
|
|
- data:/data
|
|
- config:/config
|
|
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/healthcheck/tcp.yml.j2' %}
|
|
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
|
assets:
|
|
data:
|
|
redis:
|
|
config:
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %} |