mirror of
https://github.com/boostorg/redis.git
synced 2026-01-23 06:02:09 +00:00
17 lines
425 B
Bash
Executable File
17 lines
425 B
Bash
Executable File
#!/bin/sh
|
|
# The Redis container entrypoint. Runs the server with the required
|
|
# flags and makes the socket accessible
|
|
|
|
set -e
|
|
|
|
chmod 777 /tmp/redis-socks
|
|
|
|
redis-server \
|
|
--tls-port 6380 \
|
|
--tls-cert-file /docker/tls/server.crt \
|
|
--tls-key-file /docker/tls/server.key \
|
|
--tls-ca-cert-file /docker/tls/ca.crt \
|
|
--tls-auth-clients no \
|
|
--unixsocket /tmp/redis-socks/redis.sock \
|
|
--unixsocketperm 777
|