mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 23:57:42 +01:00
22f682c020
ui nginx adminserver postgresql
9 lines
112 B
Bash
9 lines
112 B
Bash
#!/bin/sh
|
|
|
|
psql -h "localhost" -U "postgres" -c 'select 1'
|
|
ret_code=$?
|
|
|
|
if [ $ret_code != 0 ]; then
|
|
exit 1
|
|
fi
|