Clone
2
Deployment
Jonathan Miller edited this page 2026-05-10 00:08:47 +00:00

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

  1. Pull latest from moko/1.25.5-project-api
  2. Rebuild Docker image
  3. 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 redirect
  • public/assets/img/logo.svg — Moko logo
  • public/assets/img/favicon.png — Moko favicon
  • public/assets/css/theme-moko-*.css — Custom themes

Repo: MokoGitea · MokoStandards

Revision Date Author Description
1.0 2026-05-09 Moko Consulting Initial version