THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

[docker] Add LFS_START_SERVER option to control git-lfs support (#7281)

tags/v1.9.0-rc1
Marat Radchenko techknowlogick <matti@mdranta.net> 5 months ago
parent
commit
e07ff2f890
3 changed files with 3 additions and 0 deletions
  1. +1
    -0
      docker/root/etc/s6/gitea/setup
  2. +1
    -0
      docker/root/etc/templates/app.ini
  3. +1
    -0
      docs/content/doc/installation/with-docker.en-us.md

+ 1
- 0
docker/root/etc/s6/gitea/setup View File

@@ -31,6 +31,7 @@ if [ ! -f ${GITEA_CUSTOM}/conf/app.ini ]; then
ROOT_URL=${ROOT_URL:-""} \
DISABLE_SSH=${DISABLE_SSH:-"false"} \
SSH_PORT=${SSH_PORT:-"22"} \
LFS_START_SERVER=${LFS_START_SERVER:-"false"} \
DB_TYPE=${DB_TYPE:-"sqlite3"} \
DB_HOST=${DB_HOST:-"localhost:3306"} \
DB_NAME=${DB_NAME:-"gitea"} \


+ 1
- 0
docker/root/etc/templates/app.ini View File

@@ -17,6 +17,7 @@ HTTP_PORT = $HTTP_PORT
ROOT_URL = $ROOT_URL
DISABLE_SSH = $DISABLE_SSH
SSH_PORT = $SSH_PORT
LFS_START_SERVER = $LFS_START_SERVER
LFS_CONTENT_PATH = /data/git/lfs

[database]


+ 1
- 0
docs/content/doc/installation/with-docker.en-us.md View File

@@ -248,6 +248,7 @@ You can configure some of Gitea's settings via environment variables:
* `DISABLE_SSH`: **false**: Disable SSH feature when it's not available.
* `HTTP_PORT`: **3000**: HTTP listen port.
* `ROOT_URL`: **""**: Overwrite the automatically generated public URL. This is useful if the internal and the external URL don't match (e.g. in Docker).
* `LFS_START_SERVER`: **false**: Enables git-lfs support.
* `DB_TYPE`: **sqlite3**: The database type in use \[mysql, postgres, mssql, sqlite3\].
* `DB_HOST`: **localhost:3306**: Database host address and port.
* `DB_NAME`: **gitea**: Database name.


Loading…
Cancel
Save