Gitea
Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD.
Pulls:
349.6M
Stars:
947
User:
gitea
Created:
Nov 29, 2016
Updated:
4 hours ago
Status:
active
Type
Container
Platform
linux
Image
gitea/gitea:latest
Ports
3000:3000/tcp
222:22/tcp
/data : /portainer/Files/AppData/Config/Gitea
/etc/timezone:ro : /etc/timezone
/etc/localtime:ro : /etc/localtime
unless-stopped
Env Vars
PUID=1000
PGID=100
Installation
Via Portainer
- Ensure both Docker and Portainer are installed, and up-to-date
- Log into your Portainer web UI
- Under Settings → App Templates, paste the below URL
- Head to Home → App Templates, and the list of apps will show up
- Select the app you wish to deploy, fill in any config options, and hit Deploy
Template Import URL
https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json
Show Me
Via Docker Run
docker run -d \
-p 3000:3000/tcp \
-p 222:22/tcp \
-e PUID=${PUID} \
-e PGID=${PGID} \
-v /portainer/Files/AppData/Config/Gitea:/data \
-v /etc/timezone:/etc/timezone:ro \
-v /etc/localtime:/etc/localtime:ro \
--restart=unless-stopped \
gitea/gitea:latest
Via Docker Compose
Save this file as docker-compose.yml
and run docker-compose up -d
Use this only as a guide.
version: '3.8'
services:
gitea:
image: gitea/gitea:latest
ports:
- 3000:3000:tcp
- 222:22:tcp
environment:
PUID: ''
PGID: ''
volumes:
- /portainer/Files/AppData/Config/Gitea:/data
- ' /etc/timezone:/etc/timezone:ro'
- /etc/localtime:/etc/localtime:ro
Alternative Methods
For more installation options, see the Documentation in the GitHub repo