Processed apps directory via GitHub Actions
This commit is contained in:
@@ -14,7 +14,7 @@ services:
|
||||
- verificationCodeTimeout=10
|
||||
- appname=casdoor
|
||||
- authState=casdoor
|
||||
image: casbin/casdoor:v1.984.0
|
||||
image: casbin/casdoor:v1.985.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -19,7 +19,7 @@ services:
|
||||
- NEXT_PUBLIC_CustomLogo=https://nezha-cf.buycoffee.top/apple-touch-icon.png
|
||||
- NEXT_PUBLIC_CustomTitle=NezhaDash
|
||||
- NEXT_PUBLIC_CustomDescription=NezhaDash is a dashboard for Nezha.
|
||||
image: hamster1963/nezha-dash:v2.9.7
|
||||
image: hamster1963/nezha-dash:v2.9.8
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -1,23 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ -f .env ]]; then
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
mkdir -p $NEZHA_ROOT_PATH
|
||||
mkdir -p $NEZHA_ROOT_PATH/data
|
||||
|
||||
cp -f ./data/config-example.yaml ./data/nezha-config.yaml
|
||||
sed -i "s/grpcport: nz_grpc_port/grpcport: $PANEL_APP_PORT_GRPC/g" ./data/nezha-config.yaml
|
||||
sed -i "s/type: \"nz_oauth2_type\"/type: \"$OAUTH2_TYPE\"/g" ./data/nezha-config.yaml
|
||||
sed -i "s/admin: \"nz_admin_logins\"/admin: \"$OAUTH2_ADMIN\"/g" ./data/nezha-config.yaml
|
||||
sed -i "s/clientid: \"nz_github_oauth_client_id\"/clientid: \"$OAUTH2_CLIENTID\"/g" ./data/nezha-config.yaml
|
||||
sed -i "s/clientsecret: \"nz_github_oauth_client_secret\"/clientsecret: \"$OAUTH2_CLIENTSECRET\"/g" ./data/nezha-config.yaml
|
||||
sed -i "s/endpoint: \"\"/endpoint: \"$OAUTH2_ENDPOINT\"/g" ./data/nezha-config.yaml
|
||||
sed -i "s/brand: \"nz_site_title\"/brand: \"$NZ_SITE_TITLE\"/g" ./data/nezha-config.yaml
|
||||
sed -i "s/cookiename: \"nezha-dashboard\"/cookiename: \"$NZ_COOKIE_NAME\"/g" ./data/nezha-config.yaml
|
||||
sed -i "s/theme: \"default\"/theme: \"$NZ_THEME\"/g" ./data/nezha-config.yaml
|
||||
cp -f ./data/nezha-config.yaml $NEZHA_ROOT_PATH/data/config.yaml
|
||||
chmod -R 777 $NEZHA_ROOT_PATH
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ services:
|
||||
- WEBLATE_ALLOWED_HOSTS=*
|
||||
- POSTGRES_DATABASE=weblate
|
||||
- CLIENT_MAX_BODY_SIZE=200M
|
||||
image: weblate/weblate:5.12.2.2
|
||||
image: weblate/weblate:5.12.2.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- verificationCodeTimeout=10
|
||||
- appname=casdoor
|
||||
- authState=casdoor
|
||||
image: casbin/casdoor:v1.984.0
|
||||
image: casbin/casdoor:v1.985.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -19,7 +19,7 @@ services:
|
||||
- NEXT_PUBLIC_CustomLogo=https://nezha-cf.buycoffee.top/apple-touch-icon.png
|
||||
- NEXT_PUBLIC_CustomTitle=NezhaDash
|
||||
- NEXT_PUBLIC_CustomDescription=NezhaDash is a dashboard for Nezha.
|
||||
image: hamster1963/nezha-dash:v2.9.7
|
||||
image: hamster1963/nezha-dash:v2.9.8
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -16,7 +16,7 @@ services:
|
||||
- WEBLATE_ALLOWED_HOSTS=*
|
||||
- POSTGRES_DATABASE=weblate
|
||||
- CLIENT_MAX_BODY_SIZE=200M
|
||||
image: weblate/weblate:5.12.2.2
|
||||
image: weblate/weblate:5.12.2.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user