public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Redis] Rename docker-entrypoint.sh to redis-conf.sh
b0de756a
data/conf/redis/{docker-entrypoint.sh => redis-conf.sh} | 1 +
docker-compose.yml | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
rename data/conf/redis/{docker-entrypoint.sh => redis-conf.sh} (98%)
Diff
diff --git a/data/conf/redis/docker-entrypoint.sh b/data/conf/redis/redis-conf.sh
similarity index 98%
rename from data/conf/redis/docker-entrypoint.sh
rename to data/conf/redis/redis-conf.sh
index 00bdab1b..95d50a39 100755
--- a/data/conf/redis/docker-entrypoint.sh
+++ b/data/conf/redis/redis-conf.sh
@@ -3,4 +3,5 @@
cat <<EOF > /redis.conf
requirepass $REDISPASS
EOF
+
exec redis-server /redis.conf
diff --git a/docker-compose.yml b/docker-compose.yml
index 6d32da7d..226c48ac 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -43,10 +43,10 @@ services:
redis-mailcow:
image: redis:7-alpine
- entrypoint: /docker-entrypoint.sh
+ entrypoint: /redis-conf.sh
volumes:
- redis-vol-1:/data/
- - ./data/conf/redis/docker-entrypoint.sh:/docker-entrypoint.sh:z
+ - ./data/conf/redis/redis-conf.sh:/redis-conf.sh:z
restart: always
depends_on:
- netfilter-mailcow