Container w/ Gitea & SQLite
Go to file
Daniel Wolf 0ac1eaf609
Build Container Image / build_arm64 (push) Successful in 34s Details
Build Container Image / build_amd64 (push) Successful in 36s Details
Build Container Image / push_arm64 (push) Successful in 12s Details
Build Container Image / push_amd64 (push) Successful in 10s Details
Build Container Image / push (push) Successful in 36s Details
Build Container Image / build (push) Successful in 1m6s Details
Build Container Image / update_readme (push) Successful in 5s Details
fix: we do not need to auth with dockerhub so much
2024-03-29 13:34:29 -04:00
.gitea/workflows fix: we do not need to auth with dockerhub so much 2024-03-29 13:34:29 -04:00
.reuse chore: better reuse compliance 2024-03-28 09:58:24 -04:00
LICENSES add reuse copyright information 2023-10-25 09:24:02 -04:00
override fix: remove some settings that have good defaults 2024-03-28 10:31:43 -04:00
.dockerignore update *ignore files 2023-10-25 09:22:43 -04:00
.gitignore update *ignore files 2023-10-25 09:22:43 -04:00
Dockerfile fix: keep hadolint satiated 2024-03-29 13:34:05 -04:00
LICENSE.md update license #noci 2024-03-09 09:38:36 -05:00
README.md feat: update to gitea v1.21.10 2024-03-28 10:41:31 -04:00
docker-compose.yml add reuse copyright information 2023-10-25 09:24:02 -04:00

README.md

Git | Docker | unRAID

Gitea Git Repository

This docker image contains a Gitea server to self-host your own git repositories.

The latest tag points to version 1.21.10 and this is the only image actively being updated. There are tags for older versions, but these may no longer be using the latest Alpine version and packages.

To secure this service, we suggest a separate reverse proxy server, such as an NGINX container. Alternatively, Gitea does include built-in options for using your own SSL certificates or using an ACME service such as LetsEncrypt.

Docker-Compose

This is an example docker-compose file:

services:
  gitea:
    image: nephatrine/gitea-web:latest
    container_name: gitea
    environment:
      TZ: America/New_York
      PUID: 1000
      PGID: 1000
      B_MODULI: 4096
      B_DSA: 1024
      B_RSA: 4096
      B_ECDSA: 384
    ports:
      - "3000:3000/tcp"
      - "22:22/tcp"
    volumes:
      - /mnt/containers/gitea:/mnt/config

When starting the container for the first time, sshd startup might take a considerable amount of time to create the DH moduli. You can reduce this time by providing a precomputed moduli at /mnt/config/etc/ssh/moduli.

Server Configuration

There are two important configuration files you need to be aware of and potentially customize.

  • /mnt/config/etc/gitea.ini
  • /mnt/config/etc/ssh/sshd_config

Modifications to these files will require a service restart to pull in the changes made.