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