Add gitea
This commit is contained in:
parent
843320250c
commit
40ac89f9f8
3 changed files with 50 additions and 0 deletions
|
@ -32,6 +32,7 @@ Tipi is a personal homeserver orchestrator. It is running docker containers unde
|
|||
- [Transmission](https://github.com/transmission/transmission) - Fast, easy, and free BitTorrent client
|
||||
- [Wireguard Easy](https://github.com/WeeJeWel/wg-easy) - WireGuard VPN + Web-based Admin UI
|
||||
- [Adguard Home](https://github.com/AdguardTeam/AdGuardHome) - Adguard Home DNS adblocker
|
||||
- [Gitea](https://github.com/go-gitea/gitea) - Gitea - A painless self-hosted Git service.
|
||||
## 🛠 Installation
|
||||
### Installation Requirements
|
||||
- Ubuntu 18.04 LTS or higher (or Debian 10)
|
||||
|
|
12
apps/gitea/config.json
Normal file
12
apps/gitea/config.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "Gitea",
|
||||
"port": 8108,
|
||||
"available": true,
|
||||
"id": "gitea",
|
||||
"description": "Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket, and GitLab. Gitea is a fork of Gogs. See the Gitea Announcement blog post to read about the justification for a fork.",
|
||||
"short_desc": "Gitea - Git with a cup of tea · A painless self-hosted Git service. · Cross-platform · Easy to install · Lightweight · Open Source.",
|
||||
"author": "ArneNaessens",
|
||||
"source": "https://github.com/go-gitea/gitea",
|
||||
"image": "https://avatars.githubusercontent.com/u/12724356?s=200&v=4",
|
||||
"form_fields": {}
|
||||
}
|
37
apps/gitea/docker-compose.yml
Normal file
37
apps/gitea/docker-compose.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
gitea:
|
||||
image: gitea/gitea:1.16.8
|
||||
container_name: gitea
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- GITEA__database__DB_TYPE=mysql
|
||||
- GITEA__database__HOST=gitea_db:3306
|
||||
- GITEA__database__NAME=tipi_gitea
|
||||
- GITEA__database__USER=tipi_gitea
|
||||
- GITEA__database__PASSWD=tipi_gitea
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- tipi_main_network
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/gitea/data:/data
|
||||
ports:
|
||||
- ${APP_PORT}:3000
|
||||
- "222:22"
|
||||
depends_on:
|
||||
- gitea_db
|
||||
|
||||
gitea_db:
|
||||
image: mysql:8
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=tipi_gitea
|
||||
- MYSQL_USER=tipi_gitea
|
||||
- MYSQL_PASSWORD=tipi_gitea
|
||||
- MYSQL_DATABASE=tipi_gitea
|
||||
networks:
|
||||
- tipi_main_network
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/mysql/var/lib/mysql:/var/lib/mysql
|
Loading…
Reference in a new issue