mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
Fix (docker): Use 127.0.0.1 instead of localhost to test snappymail in entrypoint.sh (#1325)
* Fix (docker): Use `127.0.0.1` instead of `localhost` to test snappymail in `entrypoint.sh` * Run build on PR but don't push * Login only on tags * Fix test
This commit is contained in:
parent
60964c9869
commit
60700a56e9
3 changed files with 16 additions and 9 deletions
|
|
@ -16,9 +16,9 @@ commandTests:
|
|||
pidof php-fpm
|
||||
ls -al /var/lib/snappymail/_data_/_default_/configs/application.ini
|
||||
ls -al /var/lib/snappymail/_data_/_default_/admin_password.txt
|
||||
nc -vz localhost 8888
|
||||
nc -vz localhost 9000
|
||||
wget -S -T 3 -O /dev/null http://localhost:8888
|
||||
nc -vz 127.0.0.1 8888
|
||||
nc -vz 127.0.0.1 9000
|
||||
wget -S -T 3 -O /dev/null http://127.0.0.1:8888
|
||||
kill `pidof supervisord`
|
||||
metadataTest:
|
||||
exposedPorts: ["8888", "9000"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue