fixed missing http: in ROOT_URL
This commit is contained in:
5
setup.sh
5
setup.sh
@@ -18,7 +18,8 @@ else
|
|||||||
sudo ufw status
|
sudo ufw status
|
||||||
# Start the initial setup docker compose file
|
# Start the initial setup docker compose file
|
||||||
echo "Starting initial setup container ..."
|
echo "Starting initial setup container ..."
|
||||||
docker compose -f config/docker-compose.init.yml up -d
|
docker compose -f config/docker-compose.init.yml up -d --force-recreate
|
||||||
|
docker logs gitea-init
|
||||||
echo "Container is running at http://$IPV4_ADDRESS:3000"
|
echo "Container is running at http://$IPV4_ADDRESS:3000"
|
||||||
echo "Please complete the setup in the web interface."
|
echo "Please complete the setup in the web interface."
|
||||||
read -r -p "Please add a runner key or press any key to continue after completing the setup..." RUNNER_KEY
|
read -r -p "Please add a runner key or press any key to continue after completing the setup..." RUNNER_KEY
|
||||||
@@ -33,7 +34,7 @@ else
|
|||||||
echo "ROOT_URL=http://$IPV4_ADDRESS:3000" >> .env
|
echo "ROOT_URL=http://$IPV4_ADDRESS:3000" >> .env
|
||||||
echo "Stopping initial setup container ..."
|
echo "Stopping initial setup container ..."
|
||||||
docker compose -f config/docker-compose.init.yml down
|
docker compose -f config/docker-compose.init.yml down
|
||||||
docker logs gitea-init
|
|
||||||
echo "Disabling temporary port 3000 ..."
|
echo "Disabling temporary port 3000 ..."
|
||||||
sudo ufw delete allow 3000/tcp
|
sudo ufw delete allow 3000/tcp
|
||||||
sudo ufw reload
|
sudo ufw reload
|
||||||
|
|||||||
Reference in New Issue
Block a user