Create the network used by shinyproxy with a dedicated task
This commit is contained in:
parent
5b7fc6145b
commit
984bc6f698
|
@ -34,6 +34,12 @@
|
||||||
|
|
||||||
- name: Manage the composition of shinyproxy as a docker swarm stack
|
- name: Manage the composition of shinyproxy as a docker swarm stack
|
||||||
block:
|
block:
|
||||||
|
- name: Create the overlay network that will be used by shinyproxy
|
||||||
|
docker_network:
|
||||||
|
name: '{{ shinyproxy_docker_network }}'
|
||||||
|
driver: overlay
|
||||||
|
scope: swarm
|
||||||
|
|
||||||
- name: Install the docker compose file
|
- name: Install the docker compose file
|
||||||
template: src=shinyproxy-docker-compose.yml.j2 dest={{ shinyproxy_as_docker_src_dir }}/docker-shinyproxy-stack.yml
|
template: src=shinyproxy-docker-compose.yml.j2 dest={{ shinyproxy_as_docker_src_dir }}/docker-shinyproxy-stack.yml
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,3 @@ services:
|
||||||
driver: 'journald'
|
driver: 'journald'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
networks:
|
|
||||||
{{ shinyproxy_docker_network }}:
|
|
||||||
driver: overlay
|
|
||||||
attachable: true
|
|
||||||
|
|
Loading…
Reference in New Issue