You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/07/08 14:12:07 UTC
[airflow] branch main updated: Prevent Redis access directly from
host (#16885)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 25d89c6 Prevent Redis access directly from host (#16885)
25d89c6 is described below
commit 25d89c6eb5fd046b74d7cd6978cd9fae6f739e2f
Author: Dolev Farhi <fa...@gmail.com>
AuthorDate: Thu Jul 8 10:11:43 2021 -0400
Prevent Redis access directly from host (#16885)
* Prevent Redis access directly from host - alter ports to expose
---
docs/apache-airflow/start/docker-compose.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/apache-airflow/start/docker-compose.yaml b/docs/apache-airflow/start/docker-compose.yaml
index 0b8e0a3..9579671 100644
--- a/docs/apache-airflow/start/docker-compose.yaml
+++ b/docs/apache-airflow/start/docker-compose.yaml
@@ -85,8 +85,8 @@ services:
redis:
image: redis:latest
- ports:
- - 6379:6379
+ expose:
+ - 6379
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s