Add the backup recipe

Also move the Gitea data dir to an attribute
This commit is contained in:
Greg Karékinian
2020-05-26 15:21:26 +02:00
parent 3332a1b2e8
commit baa0739936
4 changed files with 9 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ include_recipe "kosmos-nginx"
domain = node["kosmos_gitea"]["nginx"]["domain"]
working_directory = "/var/lib/gitea"
working_directory = node["kosmos_gitea"]["working_directory"]
git_home_directory = "/home/git"
config_directory = "/etc/gitea"
gitea_binary_path = "/usr/local/bin/gitea"