add gitea

This commit is contained in:
Michal Vanko 2024-02-21 11:18:27 +01:00
parent 805b471679
commit b2ba8c7f4a
5 changed files with 38 additions and 0 deletions

1
gitea/config.yaml Normal file
View File

@ -0,0 +1 @@

View File

@ -0,0 +1,3 @@
# gitea-config.volume
[Volume]
Driver=local

3
gitea/gitea-data.volume Normal file
View File

@ -0,0 +1,3 @@
# gitea-data.volume
[Volume]
Driver=local

View File

@ -0,0 +1,16 @@
# runner.container
[Container]
Image=docker.io/gitea/act_runner:nightly
AutoUpdate=registry
Volume=./config.yaml:/config.yaml:Z
Volume=gitea-data.volume:/var/lib/gitea
Volume=gitea-config.volume:/etc/gitea
Volume=/var/run/user/1000/podman/podman.sock:/var/run/docker.sock
PodmanArgs=--privileged
EnvironmentFile=./gitea-env.env
[Service]
Restart=always
[Install]
WantedBy=default.target

View File

@ -0,0 +1,15 @@
# server.container
[Container]
Image=docker.io/gitea/gitea:latest-rootless
PublishPort=3000:3000
PublishPort=2222:2222
AutoUpdate=registry
Volume=gitea-data.volume:/var/lib/gitea
Volume=gitea-config.volume:/etc/gitea
Volume=/etc/localtime:/etc/localtime:ro
[Service]
Restart=always
[Install]
WantedBy=default.target