Made the data folder an envvar

This commit is contained in:
pablo 2022-01-15 13:36:54 +01:00
parent 46b18feee8
commit 1d9c7f51c5

View file

@ -0,0 +1,16 @@
My gogs repo has started to have quite a bit of interesting info. The gogs
instance is deployed on a clouding machine, and clouding has proven to be a
very reliable company so far. But, if they ever have an incident and the data
is gone, I'm fucked big time.
Recently I deployed gitea instance on a local machine at my place. I realised
gitea has this pretty neat mirroring function that can keep a syncd copy of
repos in gogs, so I'm gonna set that up for all the important repos.
For auth purposes, I had to get a personal token tied to my user account in
gogs. It is:
d3568092375925b7cba556b55c65a684e31ba55f
It needs to be used when setting up the mirrors in gitea so that gitea has the
right auth.