Set up Forgejo role and migrate Gitea to Forgejo 11
This commit is contained in:
parent
1c9721f0b2
commit
300358fa98
10 changed files with 319 additions and 19 deletions
|
|
@ -0,0 +1,19 @@
|
|||
# vim: ft=systemd
|
||||
[Unit]
|
||||
Requires=forgejo-postgres.service
|
||||
After=forgejo-postgres.service
|
||||
|
||||
[Container]
|
||||
Image=codeberg.org/forgejo/forgejo:{{ forgejo_version }}
|
||||
Pod=forgejo.pod
|
||||
|
||||
Volume={{ forgejo_data_dir }}:/data
|
||||
Volume={{ forgejo_repositories_dir }}:/data/git/repositories
|
||||
Volume={{ forgejo_lfs_dir }}:/data/git/lfs
|
||||
Volume=/etc/localtime:/etc/localtime:ro
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue