mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-25 02:29:32 +02:00
Add network aliases for proper DNS handling
This commit is contained in:
parent
2bf8ef019f
commit
6f120a4a19
@ -14,5 +14,6 @@ docker run \
|
||||
-v ${PWD}/data/conf/pdns/:/etc/powerdns/ \
|
||||
--network=${DOCKER_NETWORK} \
|
||||
-h pdns \
|
||||
--network-alias=pdns \
|
||||
--name ${NAME} \
|
||||
-d andryyy/mailcow-dockerized:pdns
|
||||
|
@ -88,6 +88,7 @@ docker run \
|
||||
--name=${NAME} \
|
||||
--network=${DOCKER_NETWORK} \
|
||||
-h mysql \
|
||||
--network-alias=mysql \
|
||||
-e MYSQL_ROOT_PASSWORD=${DBROOT} \
|
||||
-e MYSQL_DATABASE=${DBNAME} \
|
||||
-e MYSQL_USER=${DBUSER} \
|
||||
|
@ -33,6 +33,7 @@ fi
|
||||
docker run \
|
||||
-v ${PWD}/data/db/redis/:/data/ \
|
||||
--network=${DOCKER_NETWORK} \
|
||||
--network-alias=redis \
|
||||
-h redis \
|
||||
--name=${NAME} \
|
||||
-d redis:${REDISVERS} --appendonly yes
|
||||
|
@ -23,6 +23,7 @@ docker run \
|
||||
-v ${PWD}/data/dkim/:/shared/dkim/ \
|
||||
-d --network=${DOCKER_NETWORK} \
|
||||
--name ${NAME} \
|
||||
--network-alias=phpfpm \
|
||||
-h phpfpm \
|
||||
php:${PHPVERS}
|
||||
|
||||
|
@ -32,6 +32,7 @@ docker run \
|
||||
-v ${PWD}/data/conf/nginx/:/etc/nginx/conf.d/:ro \
|
||||
--network=${DOCKER_NETWORK} \
|
||||
-h nginx \
|
||||
--network-alias=nginx \
|
||||
-d nginx:${NGINXVERS}
|
||||
|
||||
echo "Installaing SOGo web resource files..."
|
||||
|
@ -14,5 +14,6 @@ docker run \
|
||||
-v ${PWD}/data/conf/rmilter/:/etc/rmilter.conf.d/:ro \
|
||||
--network=${DOCKER_NETWORK} \
|
||||
-h rmilter \
|
||||
--network-alias=rmilter
|
||||
--name ${NAME} \
|
||||
-d andryyy/mailcow-dockerized:rmilter
|
||||
|
@ -21,5 +21,6 @@ fi
|
||||
docker run \
|
||||
--network=${DOCKER_NETWORK} \
|
||||
-h memcached \
|
||||
--network-alias=memcached \
|
||||
--name=${NAME} \
|
||||
-d memcached
|
||||
|
Loading…
Reference in New Issue
Block a user