mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 18:20:00 -03:30
Cluster dev env: only run migrations on first node
This commit is contained in:
@@ -18,6 +18,9 @@ services:
|
||||
SDB_PORT: {{ awx_sdb_port_start }}
|
||||
AWX_GROUP_QUEUES: tower
|
||||
RECEPTORCTL_SOCKET: /var/run/receptor/receptor.sock
|
||||
{% if loop.index == 1 %}
|
||||
RUN_MIGRATIONS: 1
|
||||
{% endif %}
|
||||
links:
|
||||
- postgres
|
||||
- redis_{{ container_postfix }}
|
||||
|
||||
Reference in New Issue
Block a user