1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 05:41:03 +08:00

9 lines
262 B
Bash

source .env
mkdir -p data
chown -R 1000:1000 data
if [ "$DOCKER_MODE" = "dood" ]; then
echo "DOCKER_HOST=unix:///var/run/docker.sock" >> .env
elif [ "$DOCKER_MODE" = "dind" ]; then
echo "DOCKER_HOST=tcp://dind:2375" >> .env
fi
chmod +x ./scripts/register.sh