Skip to content

Commit 67e0056

Browse files
Merge pull request #3 from SensorsIot/pr/126
Adds a Gitea container to IOTstack
2 parents 65e48e0 + 4f8a47d commit 67e0056

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,6 +28,7 @@ declare -A cont_array=(
2828
[diyhue]="diyHue"
2929
[homebridge]="Homebridge"
3030
[python]="Python 3"
31+
[gitea]="Gitea"
3132
)
3233

3334
declare -a armhf_keys=(
@@ -54,9 +55,9 @@ declare -a armhf_keys=(
5455
"diyhue"
5556
"homebridge"
5657
"python"
58+
"gitea"
5759
# add yours here
5860
)
59-
6061
sys_arch=$(uname -m)
6162

6263
#timezones

0 commit comments

Comments
 (0)