lab-ansible/roles/apps/templates/compose-files/website.yml.j2
2024-04-14 19:29:48 +02:00

25 lines
536 B
Django/Jinja

{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
services:
app:
image: samsapti/website:{{ apps_vars.website.version }}
restart: always
networks:
{{ apps_shared_docker_network }}:
aliases:
- website
{% if 'tor' in apps_include %}
{{ apps_tor_docker_network }}:
aliases:
- website
{% endif %}
networks:
{{ apps_shared_docker_network }}:
external: true
{% if 'tor' in apps_include %}
{{ apps_tor_docker_network }}:
external: true
{% endif %}