gitea installation guide

This commit is contained in:
Kulvir Singh
2025-11-03 01:32:56 +05:30
parent af6e365459
commit c781b352cd
2 changed files with 144 additions and 69 deletions

View File

@@ -4,14 +4,12 @@ services:
container_name: gitea
restart: unless-stopped
environment:
- GITEA__server__ROOT_URL=https://git.domain-name.com/
- USER_UID=100
- USER_GID=100
- GITEA__server__ROOT_URL=https://git.domain.com/
volumes:
- gitea-data:/data # Gitea Data (repositories etc...)
ports:
- "3000:3000" # We do not need to expose this port, Caddy will reverse proxy
- "127.0.0.1:3000:3000" # We do not need to expose this port, Caddy will reverse proxy
- "127.0.0.1:2222:22"
volumes:
gitea-data: