Home Catalogus Gitea
Developer

Gitea

A painless, self-hosted Git service written in Go with repository management, code review, issues, and wikis.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Geen Lock-in)
RAM Profiel: Laag
Standaard Poort: Port 3000

Waarom deze configuratie?

Snelle Start (Standalone Docker Compose)

Onderstaand compose-fragment is direct te gebruiken in elke Docker- of Podman-omgeving:

services:
  gitea:
    image: "gitea/gitea:latest"
    container_name: njorddeploy-gitea
    restart: unless-stopped
    environment:
      - "USER_UID=1000"
      - "USER_GID=1000"
      - "GITEA__database__DB_TYPE=sqlite3"
      - "GITEA__database__PATH=/data/gitea/gitea.db"
      - "GITEA__server__DOMAIN=127.0.0.1"
      - "GITEA__server__SSH_PORT=2222"
      - "GITEA__server__ROOT_URL=http://127.0.0.1:3000/"
      - "GITEA__server__HTTP_PORT=3000"
    volumes:
      - "./data/gitea/data:/data"
      - "/etc/timezone:/etc/timezone:ro"
      - "/etc/localtime:/etc/localtime:ro"
    ports:
      - "3000:3000"
      - "2222:22"
    networks:
      - njorddeploy_net

networks:
  njorddeploy_net:

Start de service direct via de commandline: docker compose up -d

Configuratie & Omgevingsvariabelen

Belangrijkste configuratieparameters en standaardwaarden uit de NjordDeploy component-sjabloon:

Variable Default Value Description
GITEA_WEB_PORT 3000 Port for the Gitea web interface.
GITEA_SSH_PORT 2222 Port for Git operations over SSH.
HOST_IP 127.0.0.1 IP address or domain name of the host.

Ecosysteem & Bedrijfsintegratie

Eenvoudig beheren via NjordDeploy

Installeer, bewaak en update deze service met 1 klik op uw eigen Raspberry Pi of Proxmox server via de NjordDeploy Configurator.