Skip to content

Commit

Permalink
Merge branch 'main' into fix-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
tesilaaliset authored Feb 17, 2025
2 parents 87af616 + 2f21922 commit 9622530
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ python -m pip config set global.index-url https://pypi.org/simple > /dev/null
# remove_package resolvconf
# rm /etc/resolv.conf
# ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf

if [ "${MODE}" != "install-docker" ];then
if [[ $COUNTRY == 'cn' ]]; then
sudo timedatectl set-timezone Asia/Shanghai
Expand All @@ -17,6 +18,7 @@ if [ "${MODE}" != "install-docker" ];then
sudo timedatectl set-timezone Asia/Tehran
fi
fi

groupadd -f hiddify-common
usermod -aG hiddify-common root

Expand Down
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
services:
hiddify:
#only for local build and development
build: .
#build: .

#latest release version
#image: ghcr.io/hiddify/hiddify-manager:latest
image: ghcr.io/hiddify/hiddify-manager:latest

#latest beta version
#image: ghcr.io/hiddify/hiddify-manager:beta
Expand Down Expand Up @@ -37,6 +37,7 @@ services:
depends_on:
- mariadb
- redis
network_mode: host

mariadb:
image: mariadb:latest
Expand Down

0 comments on commit 9622530

Please sign in to comment.