mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Create receptor mesh in cluster development environment
This commit is contained in:
committed by
Shane McDonald
parent
81f6d36a3a
commit
0184a7c267
@@ -14,6 +14,7 @@ services:
|
||||
- "8013:8013"
|
||||
- "8043:8043"
|
||||
- "1936:1936"
|
||||
|
||||
awx-1:
|
||||
user: ${CURRENT_UID}
|
||||
container_name: tools_awx_1_1
|
||||
@@ -31,9 +32,11 @@ services:
|
||||
- "../:/awx_devel"
|
||||
- "./redis/redis_socket_ha_1:/var/run/redis/"
|
||||
- "./docker-compose/supervisor.conf:/etc/supervisord.conf"
|
||||
- "./docker-compose-cluster/awx-1-receptor.conf:/etc/receptor/receptor.conf"
|
||||
ports:
|
||||
- "2222:2222"
|
||||
- "5899-5999:5899-5999"
|
||||
|
||||
awx-2:
|
||||
user: ${CURRENT_UID}
|
||||
container_name: tools_awx_2_1
|
||||
@@ -51,9 +54,11 @@ services:
|
||||
- "../:/awx_devel"
|
||||
- "./redis/redis_socket_ha_2:/var/run/redis/"
|
||||
- "./docker-compose/supervisor.conf:/etc/supervisord.conf"
|
||||
- "./docker-compose-cluster/awx-2-receptor.conf:/etc/receptor/receptor.conf"
|
||||
ports:
|
||||
- "2223:2222"
|
||||
- "7899-7999:7899-7999"
|
||||
|
||||
awx-3:
|
||||
user: ${CURRENT_UID}
|
||||
container_name: tools_awx_3_1
|
||||
@@ -71,9 +76,11 @@ services:
|
||||
- "../:/awx_devel"
|
||||
- "./redis/redis_socket_ha_3:/var/run/redis/"
|
||||
- "./docker-compose/supervisor.conf:/etc/supervisord.conf"
|
||||
- "./docker-compose-cluster/awx-3-receptor.conf:/etc/receptor/receptor.conf"
|
||||
ports:
|
||||
- "2224:2222"
|
||||
- "8899-8999:8899-8999"
|
||||
|
||||
redis_1:
|
||||
user: ${CURRENT_UID}
|
||||
image: redis:latest
|
||||
@@ -82,6 +89,7 @@ services:
|
||||
volumes:
|
||||
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
||||
- "./redis/redis_socket_ha_1:/var/run/redis/"
|
||||
|
||||
redis_2:
|
||||
user: ${CURRENT_UID}
|
||||
image: redis:latest
|
||||
@@ -98,6 +106,14 @@ services:
|
||||
volumes:
|
||||
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
||||
- "./redis/redis_socket_ha_3:/var/run/redis/"
|
||||
|
||||
postgres:
|
||||
image: postgres:12
|
||||
container_name: tools_postgres_1
|
||||
environment:
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
volumes:
|
||||
- "awx_db:/var/lib/postgresql/data"
|
||||
|
||||
volumes:
|
||||
awx_db:
|
||||
|
||||
Reference in New Issue
Block a user