Change the volume name.

This commit is contained in:
Andrea Dell'Amico 2022-10-31 20:01:13 +01:00
parent c60fe311e9
commit cc67c431e0
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
version: '3.2'
volumes:
portainer_data:
portainer_server_data:
{% if docker_swarm_portainer_nfs_volume %}
driver: local
driver_opts:
@ -10,7 +10,7 @@ volumes:
o: "{{ docker_swarm_portainer_nfs_o }}"
device: "{{ docker_swarm_portainer_nfs_device }}"
{% endif %}
networks:
{{ haproxy_docker_overlay_network }}:
external: true
@ -37,7 +37,7 @@ services:
image: portainer/portainer-ce
command: -H tcp://tasks.agent:9001 --tlsskipverify
volumes:
- portainer_data:/data
- portainer_server_data:/data
networks:
- {{ docker_swarm_portainer_network }}
- {{ haproxy_docker_overlay_network }}