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