chore(CI): add password for redis in actions
This commit is contained in:
parent
61c677423e
commit
e44855bfb7
|
@ -9,4 +9,5 @@ EMQX_AUTH__PGSQL__USERNAME=root
|
||||||
EMQX_AUTH__PGSQL__PASSWORD=public
|
EMQX_AUTH__PGSQL__PASSWORD=public
|
||||||
EMQX_AUTH__PGSQL__DATABASE=mqtt
|
EMQX_AUTH__PGSQL__DATABASE=mqtt
|
||||||
EMQX_AUTH__REDIS__SERVER=redis_server:6379
|
EMQX_AUTH__REDIS__SERVER=redis_server:6379
|
||||||
|
EMQX_AUTH__REDIS__PASSWORD=public
|
||||||
CUTTLEFISH_ENV_OVERRIDE_PREFIX=EMQX_
|
CUTTLEFISH_ENV_OVERRIDE_PREFIX=EMQX_
|
||||||
|
|
|
@ -5,8 +5,9 @@ services:
|
||||||
container_name: redis
|
container_name: redis
|
||||||
image: redis:${REDIS_TAG}
|
image: redis:${REDIS_TAG}
|
||||||
command:
|
command:
|
||||||
- redis-server
|
- redis-server
|
||||||
- "--bind 0.0.0.0 ::"
|
- "--bind 0.0.0.0 ::"
|
||||||
|
- --requirepass public
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- emqx_bridge
|
- emqx_bridge
|
||||||
|
|
|
@ -9,6 +9,7 @@ services:
|
||||||
command:
|
command:
|
||||||
- redis-server
|
- redis-server
|
||||||
- "--bind 0.0.0.0 ::"
|
- "--bind 0.0.0.0 ::"
|
||||||
|
- --requirepass public
|
||||||
- --tls-port 6380
|
- --tls-port 6380
|
||||||
- --tls-cert-file /tls/redis.crt
|
- --tls-cert-file /tls/redis.crt
|
||||||
- --tls-key-file /tls/redis.key
|
- --tls-key-file /tls/redis.key
|
||||||
|
|
|
@ -351,6 +351,7 @@ jobs:
|
||||||
if: matrix.node_type == 'single' && matrix.connect_type == 'tls'
|
if: matrix.node_type == 'single' && matrix.connect_type == 'tls'
|
||||||
run: |
|
run: |
|
||||||
cat <<-EOF >> "$GITHUB_ENV"
|
cat <<-EOF >> "$GITHUB_ENV"
|
||||||
|
EMQX_AUTH__REIDS__PASSWORD=public
|
||||||
EMQX_AUTH__REDIS__TYPE=single
|
EMQX_AUTH__REDIS__TYPE=single
|
||||||
EMQX_AUTH__REDIS__SERVER=${redis_${{ matrix.network_type }}_address}:6380
|
EMQX_AUTH__REDIS__SERVER=${redis_${{ matrix.network_type }}_address}:6380
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue