Enable git lfs options
With this change it is possible to enable the git-lfs server. And to configure where data are stored.
This commit is contained in:
parent
736e33bb37
commit
afbd034f50
2 changed files with 9 additions and 0 deletions
|
@ -17,6 +17,9 @@ gitea_http_port: 3000
|
||||||
gitea_disable_http_git: false
|
gitea_disable_http_git: false
|
||||||
gitea_offline_mode: true
|
gitea_offline_mode: true
|
||||||
|
|
||||||
|
gitea_lfs_server_enabled: false
|
||||||
|
gitea_lfs_content_path: "data/lfs"
|
||||||
|
|
||||||
gitea_db_type: sqlite3
|
gitea_db_type: sqlite3
|
||||||
gitea_db_host: 127.0.0.0:3306
|
gitea_db_host: 127.0.0.0:3306
|
||||||
gitea_db_name: root
|
gitea_db_name: root
|
||||||
|
|
|
@ -51,6 +51,12 @@ SSH_LISTEN_PORT = %(SSH_PORT)s
|
||||||
OFFLINE_MODE = {{ gitea_offline_mode }}
|
OFFLINE_MODE = {{ gitea_offline_mode }}
|
||||||
; Default path for App data
|
; Default path for App data
|
||||||
APP_DATA_PATH = {{ gitea_home }}/data
|
APP_DATA_PATH = {{ gitea_home }}/data
|
||||||
|
{%- if gitea_lfs_server_enabled | bool %}
|
||||||
|
;Enables git-lfs support.
|
||||||
|
LFS_START_SERVER = true
|
||||||
|
; Where to store LFS files.
|
||||||
|
LFS_CONTENT_PATH = {{ gitea_lfs_content_path }}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
|
; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
|
||||||
|
|
Loading…
Reference in a new issue