mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-24 10:13:22 +00:00
Add pdns resolver, changed some other files
This commit is contained in:
1 parent
e3f0058f4f
commit
47a5166383
12 files changed
+201
-42
No files matched your search
+3
-3
@@ -5,7 +5,7 @@ source mailcow.conf
|
||||
NAME="dovecot-mailcow"
|
||||
|
||||
build() {
|
||||
docker build --no-cache -t dovecot data/Dockerfiles/dovecot/.
|
||||
docker build --no-cache -t dovecot:local data/Dockerfiles/dovecot/.
|
||||
}
|
||||
|
||||
if [[ ${1} == "--reconf" ]]; then
|
||||
@@ -23,7 +23,7 @@ if [[ ! -z "$(docker images -q dovecot)" ]]; then
|
||||
read -r -p "Found image locally. Delete local and rebuild without cache anyway? [y/N] " response
|
||||
response=${response,,}
|
||||
if [[ $response =~ ^(yes|y)$ ]]; then
|
||||
docker rmi dovecot
|
||||
docker rmi dovecot:local
|
||||
build
|
||||
fi
|
||||
else
|
||||
@@ -45,6 +45,6 @@ docker run \
|
||||
--network=${DOCKER_NETWORK} \
|
||||
--network-alias dovecot \
|
||||
-h ${MAILCOW_HOSTNAME} \
|
||||
-d dovecot
|
||||
-d dovecot:local
|
||||
|
||||
/bin/bash ./fix-permissions.sh
|
||||
Reference in new issue
Block a user