Skip to content

Commit 2c45940

Browse files
committed
Switch gitea from kapdap/gitea-rpi to kunde21/gitea-arm
kapdap/gitea-rpi has not been updated for two years. kunde21/gitea-arm is being maintained (most-recent update is 8 weeks ago). I have been running kunde21/gitea-arm since June and it seems quite stable so I recommend IOTstack switches to it. kunde21/gitea-arm also runs as user pi (kapdap/gitea-rpi ran as root): ``` $ ps -C gitea -o euser,ruser,suser,fuser,comm EUSER RUSER SUSER FUSER COMMAND pi pi pi pi gitea ``` The changes required to service.yml are: 1. Change the image definition to "kunde21/gitea-arm:latest" 2. Add `USER_UID` and `USER_GID` keys to the environment section, each with the value 1000 (user pi).
1 parent 1b63f86 commit 2c45940

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.templates/gitea/service.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
gitea:
22
container_name: gitea
3-
image: kapdap/gitea-rpi
3+
image: "kunde21/gitea-arm:latest"
44
restart: unless-stopped
5-
user: "0"
65
ports:
76
- "7920:3000/tcp"
87
- "2222:22/tcp"
8+
environment:
9+
- USER_UID=1000
10+
- USER_GID=1000
911
env_file:
1012
- ./services/gitea/gitea.env
1113
volumes:

0 commit comments

Comments
 (0)