initial upload
This commit is contained in:
2
gitea/gitea-config.volume
Normal file
2
gitea/gitea-config.volume
Normal file
@@ -0,0 +1,2 @@
|
||||
[Volume]
|
||||
VolumeName=gitea-config
|
||||
2
gitea/gitea-data.volume
Normal file
2
gitea/gitea-data.volume
Normal file
@@ -0,0 +1,2 @@
|
||||
[Volume]
|
||||
VolumeName=gitea-data
|
||||
17
gitea/gitea.container
Normal file
17
gitea/gitea.container
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Gitea
|
||||
|
||||
[Container]
|
||||
AutoUpdate=registry
|
||||
ContainerName=gitea
|
||||
Environment=TZ=Europe/Berlin
|
||||
Image=docker.gitea.com/gitea:1.25.4-rootless
|
||||
Pod=gitea.pod
|
||||
Volume=gitea-config.volume:/var/lib/gitea
|
||||
Volume=gitea-data.volume:/etc/gitea
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
3
gitea/gitea.network
Normal file
3
gitea/gitea.network
Normal file
@@ -0,0 +1,3 @@
|
||||
[Network]
|
||||
Driver=bridge
|
||||
NetworkName=gitea
|
||||
9
gitea/gitea.pod
Normal file
9
gitea/gitea.pod
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Gitea Pod
|
||||
[Pod]
|
||||
PodName=gitea
|
||||
Network=gitea.network
|
||||
PublishPort=3001:3000
|
||||
PublishPort=2222:2222
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user