mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-17 21:26:19 +00:00
modified: 01-setup.sh
This commit is contained in:
parent
2c2c20384a
commit
1b9a4afbe4
1 changed files with 8 additions and 1 deletions
|
|
@ -160,8 +160,15 @@ MYVEMAIL_POSTFIXADMIN_DBPASS=$(openssl rand -hex 32)
|
|||
gen-env
|
||||
|
||||
# Cleanup
|
||||
rm -f ${0}
|
||||
rm -r ${0} ./build -f
|
||||
|
||||
# Myvemail initial setup
|
||||
docker compose pull
|
||||
docker compose run --rm -it myvemail setup
|
||||
|
||||
# Startup
|
||||
if [ -d ./data/sql/mysql/ ] && [ -d ./data/sql/postfixadmin/ ]
|
||||
then
|
||||
docker compose up -d
|
||||
docker logs -f myvemail
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue