mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
15 lines
423 B
Bash
Executable File
15 lines
423 B
Bash
Executable File
#!/bin/bash
|
|
containers_check() {
|
|
for container in mailu_webmail_1 mailu_imap_1 mailu_smtp_1 mailu_antispam_1 mailu_admin_1 mailu_redis_1 mailu_antivirus_1 mailu_webdav_1 mailu_fetchmail_1 mailu_front_1; do
|
|
docker inspect $container | grep '"Status": "running"' || exit 1
|
|
done
|
|
}
|
|
|
|
for file in tests/compose/*.env ; do
|
|
cp $file .env
|
|
docker-compose -f tests/compose/run.yml up -d
|
|
sleep 1m
|
|
containers_check
|
|
done
|
|
|