File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ ${CLEAN_VOLUMES_TEMP_COMPOSE}: docker-compose.clean-volumes.yaml .env
6060
6161TIMEOUT = 2m
6262delete-volumes : ${CLEAN_VOLUMES_TEMP_COMPOSE}
63- # # avoid accumulating tasks (in case they fail). Always start fresh new
63+ # # avoid accumulating tasks https://github.com/moby/moby/issues/45443
6464 @docker stack rm --detach=false ${CLEAN_VOLUMES_STACK_NAME}
6565 # # use --detach=false to wait until all jobs complete successfully
6666 @timeout ${TIMEOUT} \
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ services:
3131 target: /app/delete_rabbit_docker_volume_on_node.sh
3232 mode: 0755
3333 environment:
34- VOLUME: ${STACK_NAME}0 {{ ix }}_data
34+ VOLUME: rabbit0 {{ ix }}_data
3535 TIMEOUT_MINUTES: 1
3636 INTERVAL_SECONDS: 10
3737 entrypoint: ["/app/delete_rabbit_docker_volume_on_node.sh"]
@@ -40,4 +40,4 @@ services:
4040configs:
4141 delete_rabbit_docker_volume_on_node_script:
4242 file: ./scripts/delete_rabbit_docker_volume_on_node.sh
43- name: ${STACK_NAME}_delete_rabbit_docker_volume_on_node_script_ {{ "./scripts/delete_rabbit_docker_volume_on_node.sh" | sha256file | substring(0,10) }}
43+ name: rabbit_delete_rabbit_docker_volume_on_node_script_ {{ "./scripts/delete_rabbit_docker_volume_on_node.sh" | sha256file | substring(0,10) }}
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ services:
128128volumes:
129129{% for ix in NODE_IXS %}
130130 rabbit0{{ ix }}_data:
131- name: ${STACK_NAME}0 {{ ix }}_data
131+ name: rabbit0 {{ ix }}_data
132132{% - endfor %}
133133
134134networks:
@@ -142,10 +142,10 @@ configs:
142142 file: ./rabbitmq.conf
143143 haproxy.cfg:
144144 file: ./haproxy.cfg
145- name: ${STACK_NAME}_haproxy_conf_ {{ "./haproxy.cfg" | sha256file | substring(0,10) }}
145+ name: rabbit_haproxy_conf_ {{ "./haproxy.cfg" | sha256file | substring(0,10) }}
146146
147147secrets:
148148 rabbit_erlang_cookie:
149149 # no rolling update since it requires full cluster restart
150- name: ${STACK_NAME}_erlang_cookie
150+ name: rabbit_erlang_cookie
151151 file: ./erlang.cookie.secret
Original file line number Diff line number Diff line change 1- STACK_NAME = ${ STACK_NAME }
2-
31RABBIT_CLUSTER_NODE_COUNT = ${ RABBIT_CLUSTER_NODE_COUNT }
42RABBIT_QUORUM_QUEUE_DEFAULT_REPLICA_COUNT = ${ RABBIT_QUORUM_QUEUE_DEFAULT_REPLICA_COUNT }
53
You can’t perform that action at this time.
0 commit comments