mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-26 05:27:29 +02:00
[Compose] Critical fix for project name
Docker-compose doesn't strip dashes and underscores anymore
This commit is contained in:
parent
96b80b3239
commit
152ccba1d4
@ -207,6 +207,10 @@ docker-compose pull --parallel
|
||||
[[ ! -d data/assets/ssl ]] && mkdir -p data/assets/ssl
|
||||
cp -n data/assets/ssl-example/*.pem data/assets/ssl/
|
||||
|
||||
echo -e "Fix project name by removing dashes and underscores... "
|
||||
sed -i '/COMPOSE_PROJECT_NAME=.*/{s/-//}' mailcow.conf
|
||||
sed -i '/COMPOSE_PROJECT_NAME=.*/{s/_//}' mailcow.conf
|
||||
|
||||
echo -e "\e[32mStarting mailcow...\e[0m"
|
||||
sleep 2
|
||||
docker-compose up -d --remove-orphans
|
||||
|
Loading…
x
Reference in New Issue
Block a user