+1 vote
in Gitea by
Where does Gitea store files?

1 Answer

0 votes
by
  • WorkPath
    • Environment variable GITEA_WORK_DIR
    • Else binary location
  • AppDataPath (default for database, indexers, etc.)
    • APP_DATA_PATH from app.ini
    • Else %(WorkPath)/data
  • CustomPath (custom templates)
    • Environment variable GITEA_CUSTOM
    • Else %(WorkPath)/custom
  • HomeDir
    • Unix: Environment variable HOME
    • Windows: Environment variable USERPROFILE, else environment variables HOMEDRIVE+HOMEPATH
  • RepoRootPath
    • ROOT in app.ini
    • Else %(AppDataPath)/gitea-repositories
  • INI (config file)
    • -c flag
    • Else %(CustomPath)/conf/app.ini
  • SQLite Database
    • PATH in database section of app.ini
    • Else %(AppDataPath)/gitea.db

Related questions

+1 vote
asked Jan 13, 2022 in Gitea by DavidAnderson
+1 vote
+1 vote
asked Jan 12, 2022 in Gitea by DavidAnderson
...