Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.
Website: https://gitea.io/en-us/
Github: https://github.com/go-gitea/
Docs: https://docs.gitea.io/en-us/
- Open the
docker-compose.yml
inside this folder and modify it to meet your needs
-
Open
Portainer
and log in asadmin
-
Navigate to
Stacks->Add Stack
-
Configure your stack as follows:
name: gitea Build method: Upload from your computer (upload the docker-compose.yml from this folder)
-
Click on
Deploy the stack
-
Open
http://<your-ip-or-domain>:9001
-
Finish gitea setup changing the following options:
Domain: change localhost to http://<your-ip-or-domain> Port: leave on 3000 Base url: change from localhost:3000 to http://<your-ip-or-domain>:9001
-
Access your gitea instance from
http://<your-ip-or-domain>:9001
and register a new userNOTE: By default the first registered user will have admin priviledges