any.software.gitea: started role
This commit is contained in:
parent
1fed7d327a
commit
09e19680e6
13 changed files with 305 additions and 0 deletions
20
roles/any.software.gitea/templates/gitea-app.container.j2
Normal file
20
roles/any.software.gitea/templates/gitea-app.container.j2
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# vim: ft=systemd
|
||||
[Unit]
|
||||
Requires=gitea-postgres.service
|
||||
After=gitea-postgres.service
|
||||
|
||||
[Container]
|
||||
Image=docker.io/gitea/gitea:1.20.1
|
||||
Pod=gitea.pod
|
||||
|
||||
Volume={{ gitea_data_dir }}:/data
|
||||
Volume={{ gitea_repositories_dir }}:/data/git/repositories
|
||||
Volume={{ gitea_lfs_dir }}:/data/git/lfs
|
||||
; Volume=/etc/timezone:/etc/timezone:ro
|
||||
Volume=/etc/localtime:/etc/localtime:ro
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue