File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ cd hiddify-manager
1818
1919# Download the docker-compose.yml file
2020wget https://raw.githubusercontent.com/hiddify/Hiddify-Manager/refs/heads/main/docker-compose.yml
21+ wget https://raw.githubusercontent.com/hiddify/Hiddify-Manager/refs/heads/main/hiddify-panel/app.cfg
2122
2223# Generate random passwords for MySQL and Redis
2324mysqlpassword=$( < /dev/urandom tr -dc ' a-zA-Z0-9' | head -c49; echo)
@@ -27,6 +28,8 @@ redispassword=$(< /dev/urandom tr -dc 'a-zA-Z0-9' | head -c49; echo)
2728sed -i " s/hiddify-manager:latest/hiddify-manager:$TAG /g" docker-compose.yml
2829sed -i " s/REDIS_STRONG_PASS/$redispassword /g" docker-compose.yml
2930sed -i " s/MYSQL_STRONG_PASS/$mysqlpassword /g" docker-compose.yml
31+ sed -i " s/REDIS_STRONG_PASS/$redispassword /g" app.cfg
32+ sed -i " s/MYSQL_STRONG_PASS/$mysqlpassword /g" app.cfg
3033
3134# Start the containers using Docker Compose
3235docker compose up -d
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ services:
1717 ports :
1818 - " 80:80"
1919 - " 443:443"
20- - " 53:53/udp"
21- - " 53:53/tcp"
2220 - " 42238:42238/udp"
2321 - " 19572:19572/udp"
2422 - " 17573:17573/udp"
@@ -27,6 +25,7 @@ services:
2725 - NET_ADMIN
2826 volumes :
2927 - ./docker-data/:/hiddify-data/
28+ - ./app.cfg:/opt/hiddify-manager/hiddify-panel/app.cfg
3029 environment :
3130 REDIS_URI_MAIN : ' redis://:REDIS_STRONG_PASS@redis:6379/0'
3231 REDIS_URI_SSH : ' redis://:REDIS_STRONG_PASS@redis:6379/1'
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ rm -rf /opt/hiddify-manager/log/*.lock
55cd $( dirname -- " $0 " )
66DO_NOT_INSTALL=true ./install.sh install-docker --no-gui $@
77./status.sh --no-gui
8+ ./apply_configs.sh --no-gui
89
910echo Hiddify is started!!!! in 5 seconds you will see the system logs
1011sleep 5
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ DEBUG=False
55RUN_HOST =0.0.0.0
66RUN_PORT =9000
77
8- DB_VERSION =0SQLALCHEMY_DATABASE_URI =' mysql+mysqldb://hiddifypanel:MYSQL_STRONG_PASS@mariadb/hiddifypanel?charset=utf8mb4'
8+ DB_VERSION =0
9+ SQLALCHEMY_DATABASE_URI =' mysql+mysqldb://hiddifypanel:MYSQL_STRONG_PASS@mariadb/hiddifypanel?charset=utf8mb4'
910REDIS_URI_MAIN = ' redis://:REDIS_STRONG_PASS@redis:6379/0'
1011REDIS_URI_SSH = ' redis://:REDIS_STRONG_PASS@redis:6379/1'
You can’t perform that action at this time.
0 commit comments