https://github.com/nephatrine/docker-gitea-web
[mirror] Container w/ Gitea & SQLite
https://github.com/nephatrine/docker-gitea-web
alpine docker docker-image git
Last synced: 26 days ago
JSON representation
[mirror] Container w/ Gitea & SQLite
- Host: GitHub
- URL: https://github.com/nephatrine/docker-gitea-web
- Owner: nephatrine
- License: isc
- Created: 2019-05-03T21:10:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2026-05-11T01:00:23.000Z (about 2 months ago)
- Last Synced: 2026-05-11T03:08:57.655Z (about 2 months ago)
- Topics: alpine, docker, docker-image, git
- Language: Shell
- Homepage: https://code.nephatrine.net/NephNET/docker-gitea-web
- Size: 290 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Gitea Code Forge
[](https://code.nephatrine.net/NephNET/docker-gitea-web)
[](https://github.com/nephatrine/docker-gitea-web)
[](https://code.nephatrine.net/NephNET/-/packages/container/gitea-web/latest)
[](https://hub.docker.com/repository/docker/nephatrine/gitea-web/general)
[](https://code.nephatrine.net/nephatrine/unraid-containers)
[](https://opensource.org/licenses/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](https://hub.docker.com/repository/docker/nephatrine/nginx-ssl/general).
To use the built-in actions functions, you need one or more "runners", such as
[nephatrine/gitea-runner](https://hub.docker.com/repository/docker/nephatrine/gitea-runner/general).
## Supported Tags
- `gitea-web:1.26.1`: Gitea 1.26.1
## Software
- [Alpine Linux](https://alpinelinux.org/)
- [Skarnet S6](https://skarnet.org/software/s6/)
- [s6-overlay](https://github.com/just-containers/s6-overlay)
- [Gitea](https://about.gitea.com/)
- [SQLite](https://sqlite.org/)
## 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
```yaml
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
```sh
docker run --rm -ti code.nephatrine.net/nephnet/gitea-runner:latest /bin/bash
```