mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 03:17:39 -02:30
Merge pull request #7302 from ryanpetrello/redis-no-tcp
remove TCP ports for redis (it only listens on a unix domain socket) Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -157,7 +157,7 @@ If you start a second terminal session, you can take a look at the running conta
|
|||||||
$ docker ps
|
$ docker ps
|
||||||
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
|
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
|
||||||
44251b476f98 gcr.io/ansible-tower-engineering/awx_devel:devel "/entrypoint.sh /bin…" 27 seconds ago Up 23 seconds 0.0.0.0:6899->6899/tcp, 0.0.0.0:7899-7999->7899-7999/tcp, 0.0.0.0:8013->8013/tcp, 0.0.0.0:8043->8043/tcp, 0.0.0.0:8080->8080/tcp, 22/tcp, 0.0.0.0:8888->8888/tcp tools_awx_run_9e820694d57e
|
44251b476f98 gcr.io/ansible-tower-engineering/awx_devel:devel "/entrypoint.sh /bin…" 27 seconds ago Up 23 seconds 0.0.0.0:6899->6899/tcp, 0.0.0.0:7899-7999->7899-7999/tcp, 0.0.0.0:8013->8013/tcp, 0.0.0.0:8043->8043/tcp, 0.0.0.0:8080->8080/tcp, 22/tcp, 0.0.0.0:8888->8888/tcp tools_awx_run_9e820694d57e
|
||||||
40de380e3c2e redis:latest "docker-entrypoint.s…" 28 seconds ago Up 26 seconds 0.0.0.0:6379->6379/tcp tools_redis_1
|
40de380e3c2e redis:latest "docker-entrypoint.s…" 28 seconds ago Up 26 seconds
|
||||||
b66a506d3007 postgres:10 "docker-entrypoint.s…" 28 seconds ago Up 26 seconds 0.0.0.0:5432->5432/tcp tools_postgres_1
|
b66a506d3007 postgres:10 "docker-entrypoint.s…" 28 seconds ago Up 26 seconds 0.0.0.0:5432->5432/tcp tools_postgres_1
|
||||||
```
|
```
|
||||||
**NOTE**
|
**NOTE**
|
||||||
|
|||||||
@@ -79,8 +79,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
||||||
- "./redis/redis_socket_ha_1:/var/run/redis/"
|
- "./redis/redis_socket_ha_1:/var/run/redis/"
|
||||||
ports:
|
|
||||||
- "63791:63791"
|
|
||||||
redis_2:
|
redis_2:
|
||||||
user: ${CURRENT_UID}
|
user: ${CURRENT_UID}
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
@@ -89,8 +87,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
||||||
- "./redis/redis_socket_ha_2:/var/run/redis/"
|
- "./redis/redis_socket_ha_2:/var/run/redis/"
|
||||||
ports:
|
|
||||||
- "63792:63792"
|
|
||||||
redis_3:
|
redis_3:
|
||||||
user: ${CURRENT_UID}
|
user: ${CURRENT_UID}
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
@@ -99,8 +95,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
||||||
- "./redis/redis_socket_ha_3:/var/run/redis/"
|
- "./redis/redis_socket_ha_3:/var/run/redis/"
|
||||||
ports:
|
|
||||||
- "63793:63793"
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:10
|
image: postgres:10
|
||||||
container_name: tools_postgres_1
|
container_name: tools_postgres_1
|
||||||
|
|||||||
@@ -55,8 +55,6 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
container_name: tools_redis_1
|
container_name: tools_redis_1
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
user: ${CURRENT_UID}
|
user: ${CURRENT_UID}
|
||||||
volumes:
|
volumes:
|
||||||
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user