2
0

Fixing some issues with piler-docker

This commit is contained in:
DerLinkman
2024-09-17 11:32:13 +02:00
parent 7cfa27da5e
commit 2fb2021b90
3 changed files with 17 additions and 11 deletions

View File

@@ -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}

View File

@@ -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

View File

@@ -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"