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 - 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 }} 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: docker_stack:
name: '{{ epas_teleworker_docker_stack_name }}' name: '{{ epas_teleworker_docker_stack_name }}'
state: present state: present

View File

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