MirrorNest
← すべてのガイド

Gitea

Lightweight, self-hosted Git service — a much smaller-footprint alternative to GitLab for teams that don't need its full DevOps suite.

対象: Any Docker hostDevOpsGit hosting公式ホームページ ↗公式ドキュメント ↗
このガイドは上記リンク先にあるGitea公式ドキュメントをもとに作成されています。ディストリビューションやプロジェクトのバージョンは時間とともに変わるため、本番サーバーでこれらのコマンドを実行する前に、必ず公式ドキュメントで正確なパッケージ名・バージョン名を確認してください。
  1. 1Run with Docker Compose

    Gitea's own docs recommend Docker Compose over a single docker run so the app and its database start together.

    mkdir gitea && cd gitea
    cat > docker-compose.yml <<EOF version: "3" services: server: image: gitea/gitea:latest environment: - USER_UID=1000 - USER_GID=1000 volumes: - ./data:/data ports: - "3000:3000" - "222:22" EOF
    docker compose up -d
  2. 2Finish setup

    Open http://your-server-ip:3000 and complete the initial configuration wizard.