Sign inSign up

nephatrine/gitea-web

By nephatrine

•Updated 6 days ago

Container w/ Gitea & SQLite

Image
Integration & delivery
Developer tools
0

50K+

nephatrine/gitea-web repository overview

⁠Gitea Code Forge

Git: NephCode Git: GitHub OCI: NephCode OCI: DockerHub unRAID License: ISC

This is an Alpine-based container hosting a Gitea forge for housing your Git projects.

To secure this service, we suggest a separate reverse proxy server, such as nephatrine/nginx-ssl⁠.

To use the built-in actions functions, you need one or more "runners", such as nephatrine/gitea-runner⁠.

⁠Supported Tags

  • gitea-web:1.27.3: Gitea 1.27.3

⁠Software

⁠Configuration

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.

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
  • /mnt/config/www/gitea/public/robots.txt

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

You can put things like favicons and other static assets into this location.

  • /mnt/config/www/gitea/public/assets/*
⁠Container Variables
  • TZ: Time Zone (i.e. America/New_York)
  • PUID: Mounted File Owner User ID
  • PGID: Mounted File Owner Group ID

⁠Testing

⁠docker-compose
services:
  gitea-web:
    image: nephatrine/gitea-web:latest
    container_name: gitea-web
    environment:
      TZ: America/New_York
      PUID: 1000
      PGID: 1000
    ports:
      - 3000:3000/tcp
      - 22:2020/tcp
    volumes:
      - /mnt/containers/gitea-web:/mnt/config
⁠docker run
docker run --rm -ti code.nephatrine.net/nephnet/gitea-runner:latest /bin/bash

Tag summary

Content type

Image

Digest

sha256:28a5aa25e…

Size

67.9 MB

Last updated

6 days ago

docker pull nephatrine/gitea-web