2024-09-04 15:19:09 +01:00
|
|
|
INDEX_REPO_URL = # url of the index repository
|
|
|
|
|
2024-11-03 12:40:06 +00:00
|
|
|
GIT_USERNAME= # username of a Git account with push access to the index repository
|
|
|
|
GIT_PASSWORD= # password of the account (PAT for GitHub)
|
2024-07-30 11:39:03 +01:00
|
|
|
|
|
|
|
COMMITTER_GIT_NAME= # name of the committer used for index updates
|
|
|
|
COMMITTER_GIT_EMAIL= # email of the committer used for index updates
|
|
|
|
|
2024-11-03 12:40:06 +00:00
|
|
|
DATA_DIR= # directory where miscellaneous data is stored
|
|
|
|
|
2024-09-05 20:57:47 +01:00
|
|
|
# AUTHENTICATION CONFIGURATION
|
|
|
|
# Set the variables of the authentication you want to use in order to enable it
|
|
|
|
|
2024-10-14 16:55:11 +01:00
|
|
|
READ_NEEDS_AUTH= # set to any value to require authentication for read requests
|
|
|
|
|
2024-09-05 20:57:47 +01:00
|
|
|
# Single Token
|
|
|
|
ACCESS_TOKEN= # a single token that is used to authenticate all publish requests
|
|
|
|
|
|
|
|
# Read/Write Tokens
|
2024-10-14 16:55:11 +01:00
|
|
|
# READ_NEEDS_AUTH isn't required for this
|
|
|
|
|
2024-09-05 20:57:47 +01:00
|
|
|
READ_ACCESS_TOKEN= # a token that is used to authenticate read requests
|
|
|
|
WRITE_ACCESS_TOKEN= # a token that is used to authenticate write requests
|
|
|
|
|
|
|
|
# GitHub
|
2024-10-14 16:55:11 +01:00
|
|
|
GITHUB_CLIENT_SECRET= # client secret of the GitHub OAuth app configured in the index's `config.toml`
|
2024-09-05 20:57:47 +01:00
|
|
|
|
|
|
|
# If none of the above is set, no authentication is required, even for write requests
|
|
|
|
|
|
|
|
# STORAGE CONFIGURATION
|
|
|
|
# Set the variables of the storage you want to use in order to enable it
|
|
|
|
|
|
|
|
# S3
|
|
|
|
S3_ENDPOINT= # endpoint of the S3 bucket
|
|
|
|
S3_BUCKET_NAME= # name of the S3 bucket
|
|
|
|
S3_REGION= # region of the S3 bucket
|
|
|
|
S3_ACCESS_KEY= # access key of the S3 bucket
|
|
|
|
S3_SECRET_KEY= # secret key of the S3 bucket
|
|
|
|
|
|
|
|
# FS
|
|
|
|
FS_STORAGE_ROOT= # root directory of the filesystem storage
|
2024-07-30 11:39:03 +01:00
|
|
|
|
2024-10-25 11:07:07 +01:00
|
|
|
SENTRY_DSN= # optional DSN of Sentry error tracking
|