Page:
Deployment
Clone
2
Deployment
Jonathan Miller edited this page 2026-05-10 00:08:47 +00:00
Table of Contents
Deployment
Docker Image
MokoGitea runs as a custom Docker image built from the moko/1.25.5-project-api branch.
Build
cd /opt/MokoGitea
git pull
docker build -t mokogitea:1.25.5-project-api -f Dockerfile.rootless .
Deploy
The docker-compose at /opt/gitea/docker-compose.yml references the image:
services:
gitea:
image: mokogitea:1.25.5-project-api
Update Process
- Pull latest from
moko/1.25.5-project-api - Rebuild Docker image
docker compose down gitea && docker compose up -d gitea
Volumes
| Path | Purpose |
|---|---|
./gitea/data |
Repository data, LFS, avatars |
./gitea/conf |
app.ini configuration |
Custom Files
Located at /var/lib/gitea/custom/:
templates/custom/header.tmpl— Branding, logo redirectpublic/assets/img/logo.svg— Moko logopublic/assets/img/favicon.png— Moko faviconpublic/assets/css/theme-moko-*.css— Custom themes
Repo: MokoGitea · MokoStandards
| Revision | Date | Author | Description |
|---|---|---|---|
| 1.0 | 2026-05-09 | Moko Consulting | Initial version |