-
Notifications
You must be signed in to change notification settings - Fork 6
Inspecting the hidden gitea ui for devs
Ghanem edited this page Jan 7, 2024
·
1 revision
To open the the ui in the browser, from your local machine execute the following command:
ssh -L 3333:localhost:3333 [email protected]
You now have an ssh into the machine, and you can open http://localhost:3333 in your local browser to open gitea ui.
If you want to generate an admin user use the following command in the remote machine:
docker exec --user git $(docker ps | grep gitea | awk '{print $1}') /bin/sh -c 'gitea admin user create --username dev --password 123456 --email [email protected] --admin --must-change-password=false'