Definita la rete interna.

This commit is contained in:
Andrea Dell'Amico 2022-07-04 17:58:50 +02:00
parent 0cc4e618eb
commit c2af0aa47b
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,7 @@
- name: Login into the IIT registry
shell: docker login -u {{ epas_teleworker_docker_registry_user }} -p {{ epas_teleworker_docker_registry_password }} {{ epas_teleworker_docker_registry }}
- name: Start the ePAS Teleworker stack
- name: Start the ePAS Teleworker stack, {{ epas_teleworker_docker_stack_name }}
docker_stack:
name: '{{ epas_teleworker_docker_stack_name }}'
state: present

View File

@ -1,10 +1,11 @@
version: '3.2'
{% if epas_teleworker_behind_haproxy %}
networks:
{% if epas_teleworker_behind_haproxy %}
{{ epas_teleworker_haproxy_public_net }}:
external: true
{% endif %}
{{ epas_teleworker_docker_network }}:
{% if epas_teleworker_dockerized_db %}
volumes: