2022-07-12 21:50:25 -05:00
|
|
|
# every field in here is optional except, CORE_SECRET and CORE_DATABASE_URL.
|
|
|
|
# if CORE_SECRET is still "changethis" then zipline will exit and tell you to change it.
|
|
|
|
|
2023-05-29 21:02:18 -05:00
|
|
|
# if using s3/supabase make sure to uncomment or comment out the correct lines needed.
|
2022-07-12 21:50:25 -05:00
|
|
|
|
2023-05-06 12:41:46 -05:00
|
|
|
CORE_RETURN_HTTPS=true
|
2022-07-12 21:50:25 -05:00
|
|
|
CORE_SECRET="changethis"
|
|
|
|
CORE_HOST=0.0.0.0
|
|
|
|
CORE_PORT=3000
|
|
|
|
CORE_DATABASE_URL="postgres://postgres:postgres@localhost/zip10"
|
|
|
|
CORE_LOGGER=false
|
|
|
|
CORE_STATS_INTERVAL=1800
|
2023-05-29 21:02:18 -05:00
|
|
|
CORE_INVITES_INTERVAL=1800
|
|
|
|
CORE_THUMBNAILS_INTERVAL=600
|
2022-07-12 21:50:25 -05:00
|
|
|
|
|
|
|
# default
|
|
|
|
DATASOURCE_TYPE=local
|
|
|
|
DATASOURCE_LOCAL_DIRECTORY=./uploads
|
|
|
|
|
|
|
|
# or you can choose to use s3
|
2023-05-29 21:02:18 -05:00
|
|
|
# DATASOURCE_TYPE=s3
|
|
|
|
# DATASOURCE_S3_ACCESS_KEY_ID=key
|
|
|
|
# DATASOURCE_S3_SECRET_ACCESS_KEY=secret
|
|
|
|
# DATASOURCE_S3_BUCKET=bucket
|
|
|
|
# DATASOURCE_S3_ENDPOINT=s3.amazonaws.com
|
|
|
|
# DATASOURCE_S3_REGION=us-west-2
|
|
|
|
# DATASOURCE_S3_FORCE_S3_PATH=false
|
|
|
|
# DATASOURCE_S3_USE_SSL=false
|
2022-07-12 21:50:25 -05:00
|
|
|
|
2022-11-27 21:20:29 -05:00
|
|
|
# or supabase
|
2023-05-29 21:02:18 -05:00
|
|
|
# DATASOURCE_TYPE=supabase
|
|
|
|
# DATASOURCE_SUPABASE_KEY=xxx
|
2022-11-27 21:20:29 -05:00
|
|
|
# remember: no leading slash
|
2023-05-29 21:02:18 -05:00
|
|
|
# DATASOURCE_SUPABASE_URL=https://something.supabase.co
|
|
|
|
# DATASOURCE_SUPABASE_BUCKET=zipline
|
2022-07-12 21:50:25 -05:00
|
|
|
|
2022-11-22 23:36:49 -05:00
|
|
|
UPLOADER_DEFAULT_FORMAT=RANDOM
|
2022-07-12 21:50:25 -05:00
|
|
|
UPLOADER_ROUTE=/u
|
|
|
|
UPLOADER_LENGTH=6
|
|
|
|
UPLOADER_ADMIN_LIMIT=104900000
|
|
|
|
UPLOADER_USER_LIMIT=104900000
|
2023-05-29 21:02:18 -05:00
|
|
|
UPLOADER_DISABLED_EXTENSIONS=someext,anotherext
|
2022-07-12 21:50:25 -05:00
|
|
|
|
|
|
|
URLS_ROUTE=/go
|
|
|
|
URLS_LENGTH=6
|
|
|
|
|
2023-04-12 18:59:30 -05:00
|
|
|
RATELIMIT_USER=5
|
|
|
|
RATELIMIT_ADMIN=3
|
2023-05-06 12:41:46 -05:00
|
|
|
|
|
|
|
# for more variables checkout the docs
|