mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 19:07:39 -02:30
Set a custom name for Docker volumes
This commit is contained in:
@@ -87,8 +87,11 @@ services:
|
|||||||
- "awx_db:/var/lib/postgresql/data"
|
- "awx_db:/var/lib/postgresql/data"
|
||||||
volumes:
|
volumes:
|
||||||
awx_db:
|
awx_db:
|
||||||
|
name: tools_awx_db
|
||||||
{% for i in range(cluster_node_count|int) -%}
|
{% for i in range(cluster_node_count|int) -%}
|
||||||
{% set container_postfix = loop.index %}
|
{% set container_postfix = loop.index %}
|
||||||
receptor_{{ container_postfix }}:
|
receptor_{{ container_postfix }}:
|
||||||
|
name: tools_receptor_{{ container_postfix }}
|
||||||
redis_socket_{{ container_postfix }}:
|
redis_socket_{{ container_postfix }}:
|
||||||
|
name: tools_redis_socket_{{ container_postfix }}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user