Skip to content

Commit

Permalink
fix(redis): disabling protected mode and explicit redis-server command
Browse files Browse the repository at this point in the history
  • Loading branch information
subnetmarco committed Aug 26, 2024
1 parent af563c4 commit 779b50a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions assets/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,14 @@ services:
volumes:
- "./redis/server.crt:/usr/local/etc/redis/server.crt"
- "./redis/server.key:/usr/local/etc/redis/server.key"
command: >-
--tls-port 6380
--tls-cert-file /usr/local/etc/redis/server.crt
--tls-key-file /usr/local/etc/redis/server.key
--tls-cluster no
--tls-replication no
--tls-auth-clients no
environment:
- REDIS_TLS_PORT=6380
- REDIS_TLS_CERT_FILE=/usr/local/etc/redis/server.crt
- REDIS_TLS_KEY_FILE=/usr/local/etc/redis/server.key
- REDIS_TLS_CLUSTER=no
- REDIS_TLS_REPLICATION=no
- REDIS_TLS_AUTH_CLIENTS=no
- REDIS_PROTECTED_MODE=no
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
Expand Down

0 comments on commit 779b50a

Please sign in to comment.