- Now use rx3-docker/php-apache:1.7.3-mga9 & rx3-docker/postgresql:1.2.1-mga9 images,
- Password plugin setup.
This commit is contained in:
1 parent
3ff0fe5592
commit
c0195cc901
5 files changed
+26
-6
No files matched your search
@@ -58,6 +58,8 @@ chown -R apache:apache
|
||||
chmod -R a-x,a+X '${RCM_LIB_DIR}' '${RCM_CONFIG_DIR}' '${RCM_LOG_DIR}' \n\
|
||||
chmod o-rwx '${RCM_LIB_DIR}' '${RCM_CONFIG_DIR}' '${RCM_LOG_DIR}' \n\
|
||||
\n\
|
||||
getent group poppassd >/dev/null || groupadd -g $(stat -c '%g' /var/run/poppassd/poppassd.sock) -U apache poppassd \n\
|
||||
\n\
|
||||
cp -f '${RCM_HTTPD_CONFIG_FILE}.ref' '${RCM_HTTPD_CONFIG_FILE}' \n\
|
||||
\n\
|
||||
sed -i -e "s%RCM_URL%${RCM_URL}%g" '${RCM_HTTPD_CONFIG_FILE}' \n\
|
||||
@@ -126,6 +128,9 @@ RUN . /etc/profile.d/rx3.sh && isl --add ${IMG_URL}
|
||||
&& sed -i -e "/^[^#/]*'calendar_caldav_url'/ s|^|// |" "${RCM_CONFIG_DIR}/calendar.inc.php" \
|
||||
&& sed -i -e "s%// default calendar view%// RCM_CALDAV_SHARED\n\n// default calendar view%" "${RCM_CONFIG_DIR}/calendar.inc.php" \
|
||||
&& sed -i -e "/'calendar_first_day'/ s|= .*|= 1;|" "${RCM_CONFIG_DIR}/calendar.inc.php" \
|
||||
&& sed -i -e "/'password_driver'/ s|= .*|= 'poppassd_unix';|" "${RCM_CONFIG_DIR}/password.inc.php" \
|
||||
&& echo -e "\n// POPPassD_Unix driver option\n// ---------------------------" >> "${RCM_CONFIG_DIR}/password.inc.php" \
|
||||
&& echo "\$config['password_poppassd_unix_socket'] = '/run/poppassd/poppassd.sock';" >> "${RCM_CONFIG_DIR}/password.inc.php" \
|
||||
&& mv "${RCM_CONFIG_DIR}" "${RCM_CONFIG_DIR}.ref" \
|
||||
&& echo -e "${ROUNDCUBEMAIL}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/roundcubemail \
|
||||
&& chmod a+x /etc/init.d/roundcubemail \
|
||||
|
||||
Reference in new issue
Block a user