This guide uses Docker Compose for a quick deployment.
mkdir -p ~/gitea
cd ~/gitea
version: "3"
services:
gitea:
image: gitea/gitea:latest
container_name: gitea
restart: always
ports:
- "3000:3000"
- "222:22"
volumes:
- ./data:/data
Save as docker-compose.yml.
docker compose up -d
Open http://your-server:3000 and complete the web installer.
Check the Gitea installation guide or reach out via our contact page.