mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 16:26:19 +08:00
优化 casdoor
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
3b997a673a
commit
e985be817b
@ -12,7 +12,7 @@ if [ -f .env ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DB_TYPE" == "postgres" ]; then
|
if [ "$DB_TYPE" == "postgres" ]; then
|
||||||
echo "dataSourceName=user=$DB_USER password=$DB_PASSWD host=$DB_HOSTNAME port=$DB_PORT sslmode=disable dbname=$DB_NAME" >> .env
|
echo "dataSourceName=\"user=$DB_USER password=$DB_PASSWD host=$DB_HOSTNAME port=$DB_PORT sslmode=disable dbname=$DB_NAME\"" >> .env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$REDIS_PASSWORD" ]; then
|
if [ -n "$REDIS_PASSWORD" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user