lab-ansible/roles/apps/templates/compose-files/website.yml.j2

25 lines
536 B
Plaintext
Raw Normal View History

2024-02-10 17:23:33 +00:00
{# 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
2024-02-10 19:03:04 +00:00
{% if 'tor' in apps_include %}
{{ apps_tor_docker_network }}:
aliases:
- website
{% endif %}
2024-02-10 17:23:33 +00:00
networks:
{{ apps_shared_docker_network }}:
external: true
2024-02-10 19:03:04 +00:00
{% if 'tor' in apps_include %}
{{ apps_tor_docker_network }}:
external: true
{% endif %}