Skip to content

Commit a39d01c

Browse files
committed
Adds a Gitea container to IOTstack
Gitea is a lightweight implementation of a Git server. Makers who are already running a local IOTstack server may prefer to commit their work to a local repository running on their Raspberry Pi, rather than GitHub/GitLab/etc. Implementing Gitea under the IOTStack umbrella inherits the existing IOTstack backup mechanisms for free. Candidate page for the wiki at https://www.dropbox.com/s/onqndgyamo2h74i/Gitea.md.zip?dl=1
1 parent 1f146f0 commit a39d01c

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.templates/gitea/gitea.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# initially empty

.templates/gitea/service.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
gitea:
2+
container_name: gitea
3+
image: kapdap/gitea-rpi
4+
restart: unless-stopped
5+
user: "0"
6+
ports:
7+
- "7920:3000/tcp"
8+
- "2222:22/tcp"
9+
env_file:
10+
- ./services/gitea/gitea.env
11+
volumes:
12+
- ./volumes/gitea/data:/data
13+
- /etc/timezone:/etc/timezone:ro
14+
- /etc/localtime:/etc/localtime:ro

menu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ declare -A cont_array=(
2828
[diyhue]="diyHue"
2929
[homebridge]="Homebridge"
3030
[python]="Python 3"
31+
[gitea]="Gitea"
3132

3233
)
3334
declare -a armhf_keys=("portainer" "nodered" "influxdb" "grafana" "mosquitto" "telegraf" "mariadb" "postgres"
3435
"adminer" "openhab" "zigbee2mqtt" "pihole" "plex" "tasmoadmin" "rtl_433" "espruinohub"
35-
"motioneye" "webthings_gateway" "blynk_server" "nextcloud" "diyhue" "homebridge" "python")
36+
"motioneye" "webthings_gateway" "blynk_server" "nextcloud" "diyhue" "homebridge" "python" "gitea")
3637

3738
sys_arch=$(uname -m)
3839

0 commit comments

Comments
 (0)