ava/.env.example

46 lines
1.4 KiB
Plaintext
Raw Normal View History

# Authentication route
OAUTH2__AUTHENTICATE=
# Logout route
OAUTH2__LOGOUT=
# Token route
OAUTH2__GET_TOKEN=
# Client id
OAUTH2__CLIENT_ID=
# Client secret
OAUTH2__CLIENT_SECRET=
2024-07-10 04:29:44 -07:00
# OAuth2 scopes
OAUTH2__SCOPES=openid profile
# Userinfo route
2024-07-09 21:54:17 -07:00
USERINFO__ROUTE=
2024-07-10 04:29:44 -07:00
# Identifier you'd like to use to link avatars with
USERINFO__IDENTIFIER=preferred_username
2024-07-09 21:54:17 -07:00
2024-07-12 01:49:22 -07:00
# Comma-separated list of any extra formats you'd like to be available
IMAGES__EXTRA_OUTPUT_FORMATS=jpeg
# Comma-separated list of output resolutions you'd like to be available - Default 1024,512,256,128,64,32
IMAGES__OUTPUT_RESOLUTIONS=1024,512,256,128,64,48,32
# Default selected resolution - Default 512
IMAGES__DEFAULT_RESOLUTION=512
# Comma-separated list of permitted image mimetypes
IMAGES__ALLOWED_INPUT_FORMATS=image/jpg,image/jpeg,image/png,image/webp,image/gif
# Whether or not to enable the libravatar API. Default false.
LIBRAVATAR__ENABLED=false
# Either jpeg or png. The type of image the libravatar API serves. Default png.
LIBRAVATAR__FORMAT=png
2024-11-20 19:36:24 -08:00
# What to do when libravatar requests a resolution that is not a valid output resolution. Default nearest.
# Modes:
2024-11-20 19:36:24 -08:00
# nearest - Use the nearest image size.
# nocache - Render the image at the requested size without saving it to disk.
# cache - Render the image at the requested size and save it to disk.
2024-11-20 19:36:24 -08:00
LIBRAVATAR__GENERATION_MODE=nearest
2024-07-09 21:54:17 -07:00
# Prisma database URL
2024-07-11 04:00:29 -07:00
DATABASE_URL=file:../.data/data.db
# SvelteKit origin
ORIGIN=https://your-site