update env files location
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
/ireddocker/main.cvd
|
||||
/ireddocker/iredmail-env.conf
|
||||
/envfiles/mariadb-env.conf
|
||||
/envfiles/iredmail-env.conf
|
||||
/cert_dir/*
|
||||
/mail_dir/*
|
||||
|
||||
+3
-3
@@ -9,8 +9,8 @@ services:
|
||||
master_mariadb:
|
||||
image: mariadb:10.5.4-focal
|
||||
container_name: master_mariadb
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: "123qweASD"
|
||||
env_file:
|
||||
- envfiles/mariadb-env.conf
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
@@ -25,7 +25,7 @@ services:
|
||||
container_name: iredmail
|
||||
hostname: mail.resds.ru
|
||||
env_file:
|
||||
- ireddocker/iredmail-env.conf
|
||||
- envfiles/iredmail-env.conf
|
||||
ports:
|
||||
- "110:110"
|
||||
- "995:995"
|
||||
|
||||
@@ -420,8 +420,8 @@ sed -i 's/ENABLED=0/ENABLED=1/g' /etc/default/spamassassin
|
||||
|
||||
if [[ X"${LDAP_EXTERNAL_USE}" != X'YES' || X"${LDAP_EXTERNAL_USE}" != X'yes' ]]; then
|
||||
service slapd restart
|
||||
service iredapd restart
|
||||
fi
|
||||
/usr/bin/python3 /opt/iredapd/iredapd.py &
|
||||
fi
|
||||
|
||||
while mysqladmin ping -h"${MYSQL_SERVER_ADDRESS}" --silent; do
|
||||
sleep 5
|
||||
@@ -471,7 +471,7 @@ else
|
||||
|
||||
if [[ X"${LDAP_EXTERNAL_USE}" != X'YES' || X"${LDAP_EXTERNAL_USE}" != X'yes' ]]; then
|
||||
service slapd start
|
||||
service iredapd start
|
||||
/usr/bin/python3 /opt/iredapd/iredapd.py &
|
||||
fi
|
||||
|
||||
while mysqladmin ping -h"${MYSQL_SERVER_ADDRESS}" --silent; do
|
||||
|
||||
Reference in New Issue
Block a user