Fixing some issues with piler-docker
This commit is contained in:
@@ -25,7 +25,8 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
environment:
|
||||
- DEFAULT_EMAIL=${LETSENCRYPT_EMAIL}
|
||||
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
|
||||
- LETSENCRYPT_TESTING=${LETSENCRYPT_TESTING:false}
|
||||
|
||||
mysql:
|
||||
image: mariadb:${MARIA_DB_VERSION}
|
||||
|
||||
@@ -341,17 +341,18 @@ echo
|
||||
|
||||
cd $installPth
|
||||
|
||||
if [ "$USE_LETSENCRYPT" = "yes" ]; then
|
||||
if ! docker network ls | grep -o "nginx-proxy"; then
|
||||
docker network create nginx-proxy
|
||||
# Unused???
|
||||
# if [ "$USE_LETSENCRYPT" = "yes" ]; then
|
||||
# if ! docker network ls | grep -o "nginx-proxy"; then
|
||||
# docker network create nginx-proxy
|
||||
|
||||
echo
|
||||
echo "${blue}${HLINE}"
|
||||
echo "${blue} docker network created"
|
||||
echo "${blue}${HLINE}${normal}"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
# echo
|
||||
# echo "${blue}${HLINE}"
|
||||
# echo "${blue} docker network created"
|
||||
# echo "${blue}${HLINE}${normal}"
|
||||
# echo
|
||||
# fi
|
||||
# fi
|
||||
|
||||
if [ $COMPOSE_VERSION = native ]; then
|
||||
docker compose up -d
|
||||
|
||||
@@ -49,6 +49,10 @@ USE_LETSENCRYPT="yes"
|
||||
|
||||
LETSENCRYPT_EMAIL="admin@example.com"
|
||||
|
||||
# Let's Encrypt Testing (staging) server usage
|
||||
|
||||
LETSENCRYPT_TESTING=false
|
||||
|
||||
# ------ optional Mailcow Settings --------
|
||||
|
||||
# if Use Mailcow API Options set "true"
|
||||
|
||||
Reference in New Issue
Block a user