diff --git a/knowledge base/gitea.md b/knowledge base/gitea.md
index 30611d1..abb64b4 100644
--- a/knowledge base/gitea.md
+++ b/knowledge base/gitea.md
@@ -1,10 +1,25 @@
# Gitea
+1. [Installation](#installation)
1. [Further readings](#further-readings)
+## Installation
+
+The `git` user has UID and GID set to 1000 by default.
+Change those in the compose file or whatever.
+
+One can optionally define the administrative user during the initial setup.
+If no administrative user is defined in that moment, the first registered user becomes the administrator.
+
## Further readings
- [Website]
+- [Compose file]
+- [Git]
+
+Alternatives:
+
+- [Gitlab]
+[git]: git.md
+[gitlab]: gitlab.md
+
+[compose file]: /docker/gitea/docker-compose.yml
+
[website]: https://about.gitea.com/
diff --git a/snippets/gitea.sh b/snippets/gitea.sh
new file mode 100644
index 0000000..9048904
--- /dev/null
+++ b/snippets/gitea.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+docker exec -ti 'gitea-server-1' sh