Реализация на отдельных двух машинах с протестированным взаимодействием по проверке сообщений
This commit is contained in:
@@ -5,6 +5,7 @@ COPY redis.conf /etc/han-redis/redis.conf
|
||||
COPY users.acl.template /etc/han-redis/users.acl.template
|
||||
COPY scripts/entrypoint.sh /usr/local/lib/han/entrypoint.sh
|
||||
RUN sed -i 's/\r$//' /usr/local/lib/han/entrypoint.sh \
|
||||
&& /bin/sh -n /usr/local/lib/han/entrypoint.sh \
|
||||
&& chmod 0555 /usr/local/lib/han/entrypoint.sh \
|
||||
&& chmod 0444 /etc/han-redis/*
|
||||
USER redis
|
||||
|
||||
Reference in New Issue
Block a user