File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ RUN apk --no-cache add curl
44
55RUN yarn global add --ignore-optional taskforce-connector pm2@5.2.0 && yarn cache clean
66
7- CMD pm2-runtime taskforce -- -n "${TASKFORCE_CONNECTION}" --team "${TASKFORCE_TEAM}"
7+ CMD pm2-runtime taskforce -- -n "${TASKFORCE_CONNECTION}" --team "${TASKFORCE_TEAM}" `([ "$REDIS_USE_TLS" == "1" ] && echo --tls)`
88
99HEALTHCHECK --interval=30s --timeout=30s \
1010 --start-period=5s --retries=3 CMD curl -f http://localhost || exit 1
Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ master REDIS_MASTER
8484nodes REDIS_NODES (comma separated list of nodes for Redis Cluster)
8585```
8686
87+ To enable use if TLS when using the container set this environment variable:
88+ ``` bash
89+ REDIS_USE_TLS=1
90+ ```
8791
8892Note for Redis Cluster: You may also need to specify following with environment variables.
8993``` bash
You can’t perform that action at this time.
0 commit comments