add gitea
This commit is contained in:
parent
805b471679
commit
b2ba8c7f4a
1
gitea/config.yaml
Normal file
1
gitea/config.yaml
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
3
gitea/gitea-config.volume
Normal file
3
gitea/gitea-config.volume
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# gitea-config.volume
|
||||||
|
[Volume]
|
||||||
|
Driver=local
|
3
gitea/gitea-data.volume
Normal file
3
gitea/gitea-data.volume
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# gitea-data.volume
|
||||||
|
[Volume]
|
||||||
|
Driver=local
|
16
gitea/gitea-runner.container
Normal file
16
gitea/gitea-runner.container
Normal 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
|
15
gitea/gitea-server.container
Normal file
15
gitea/gitea-server.container
Normal 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
|
Loading…
Reference in New Issue
Block a user