lab-ansible/roles/apps/templates/compose-files/website.yml.j2
2024-02-10 21:28:47 +01:00

27 lines
552 B
Django/Jinja

{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
version: "3.8"
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 %}