add [repository.upload] support to the configuration
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Note: Requires updates to config file so add this to the release notes.
This commit is contained in:
parent
464c890afb
commit
9d44d9e61c
|
@ -21,6 +21,11 @@ GITEA_DISABLE_GRAVATAR=false
|
|||
GITEA_ENABLE_FEDERATED_AVATAR=true
|
||||
GITEA_LANDING_PAGE=organizations
|
||||
|
||||
GITEA_REPO_UPLOAD_ENABLED=true
|
||||
GITEA_REPO_UPLOAD_ALLOWED_TYPES=*/*
|
||||
GITEA_REPO_UPLOAD_MAX_SIZE=50
|
||||
GITEA_REPO_UPLOAD_MAX_FILES=5
|
||||
|
||||
GITEA_MAILER_FROM=noreply@example.com
|
||||
GITEA_MAILER_USER=noreply@example.com
|
||||
|
||||
|
|
2
abra.sh
2
abra.sh
|
@ -1,4 +1,4 @@
|
|||
export APP_INI_VERSION=v11
|
||||
export APP_INI_VERSION=v15
|
||||
export DOCKER_SETUP_SH_VERSION=v1
|
||||
|
||||
abra_backup_app() {
|
||||
|
|
|
@ -24,6 +24,13 @@ ENABLE_OPENID_SIGNUP = {{ env "GITEA_ENABLE_OPENID_SIGNUP" }}
|
|||
[repository]
|
||||
DEFAULT_BRANCH = main
|
||||
|
||||
[repository.upload]
|
||||
ENABLED = {{ env "GITEA_REPO_UPLOAD_ENABLED" }}
|
||||
ALLOWED_TYPES = {{ env "GITEA_REPO_UPLOAD_ALLOWED_TYPES" }}
|
||||
FILE_MAX_SIZE = {{ env "GITEA_REPO_UPLOAD_MAX_SIZE" }}
|
||||
MAX_FILES = {{ env "GITEA_REPO_UPLOAD_MAX_FILES" }}
|
||||
|
||||
|
||||
[indexer]
|
||||
STARTUP_TIMEOUT = 0
|
||||
|
||||
|
|
|
@ -36,6 +36,11 @@ services:
|
|||
- GITEA_OAUTH2_CLIENT_ENABLED
|
||||
- GITEA_CORS_ALLOW_DOMAIN
|
||||
- GITEA_LANDING_PAGE
|
||||
- GITEA_REPO_UPLOAD_ENABLED
|
||||
- GITEA_REPO_UPLOAD_ALLOWED_TYPES
|
||||
- GITEA_REPO_UPLOAD_MAX_SIZE
|
||||
- GITEA_REPO_UPLOAD_MAX_FILES
|
||||
|
||||
volumes:
|
||||
- data:/var/lib/gitea
|
||||
- config:/etc/gitea
|
||||
|
|
Loading…
Reference in New Issue