1
sample .env files
Alex Grin edited this page 2021-10-22 10:40:52 -04:00
####### ODYSEE SPECIFIC #########
## Custom Site info
DOMAIN=odysee.com
URL=https://odysee.com
SITE_TITLE=odysee.com
SITE_NAME=Odysee
SITE_DESCRIPTION=Launch your own channel | Watch and share videos
SITE_HELP_EMAIL=help@odysee.com
LOGO_TITLE=odysee
# OG
OG_TITLE_SUFFIX=| odysee.com
OG_HOMEPAGE_TITLE=odysee.com
OG_IMAGE_URL=https://spee.ch/odysee-og:e.png?quality=90&height=1200&width=630
SITE_CANONICAL_URL=odysee.com
TWITTER_ACCOUNT=OdyseeTeam
# Base config
WEBPACK_WEB_PORT=9090
WEBPACK_ELECTRON_PORT=9091
WEB_SERVER_PORT=1337
# Analytics
MATOMO_URL=https://analytics.lbry.com/
MATOMO_ID=10
######## ODYSEE SETTINGS #########
## APIS
#LBRY_WEB_API=https://api.na-backend.odysee.com
LBRY_WEB_PUBLISH_API=https://publish.na-backend.odysee.com/v1
#LBRY_WEB_STREAMING_API=https://cdn.lbryplayer.xyz
#LBRY_WEB_BUFFER_API=https://collector-service.api.lbry.tv/api/v1/events/video #deprecated
#COMMENT_SERVER_API=https://comments.lbry.com/api/v2
WELCOME_VERSION=1.0
# STRIPE
STRIPE_PUBLIC_KEY='pk_live_e8M4dRNnCCbmpZzduEUZBgJO'
## UI
LOADING_BAR_COLOR=#e50054
# IMAGE ASSETS
YRBL_HAPPY_IMG_URL=https://spee.ch/spaceman-happy:a.png
YRBL_SAD_IMG_URL=https://spee.ch/spaceman-sad:d.png
LOGIN_IMG_URL=https://spee.ch/login:b.png
LOGO=https://spee.ch/odysee-logo-png:3.png
LOGO_TEXT_LIGHT=https://spee.ch/odysee-white-png:f.png
LOGO_TEXT_DARK=https://spee.ch/odysee-png:2.png
AVATAR_DEFAULT=https://spee.ch/spaceman-png:2.png
FAVICON=https://spee.ch/favicon-png:c.png
# LOCALE
DEFAULT_LANGUAGE=en
## CUSTOM SETTINGS
# Additional settings for below are found in ui/constants/settings and are for
# preventing user settings from applying to custom sites without overwriting them.
# UNSYNCED_SETTINGS='theme dark_mode_times automatic_dark_mode_enabled'
## LINKED CONTENT WHITELIST
KNOWN_APP_DOMAINS=open.lbry.com,lbry.tv,lbry.lat,odysee.com
## CUSTOM CONTENT
# If the following is true, copy custom/homepage.example.js to custom/homepage.js and modify
CUSTOM_HOMEPAGE=true
# Add channels to auto-follow on firstrun (space delimited)
AUTO_FOLLOW_CHANNELS=lbry://@Odysee#80d2590ad04e36fb1d077a9b9e3a8bba76defdf8 lbry://@OdyseeHelp#b58dfaeab6c70754d792cdd9b56ff59b90aea334
## FEATURES AND LIMITS
SIMPLE_SITE=true
BRANDED_SITE=odysee
# SIMPLE_SITE REPLACEMENTS
ENABLE_MATURE=false
ENABLE_UI_NOTIFICATIONS=true
ENABLE_WILD_WEST=true
SHOW_TAGS_INTRO=false
# CENTRALIZED FEATURES
ENABLE_COMMENT_REACTIONS=true
ENABLE_FILE_REACTIONS=true
ENABLE_CREATOR_REACTIONS=true
ENABLE_NO_SOURCE_CLAIMS=true
ENABLE_PREROLL_ADS=false
CUSTOM_HOMEPAGE=true
SHOW_ADS=true
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS=4
CHANNEL_STAKED_LEVEL_LIVESTREAM=3
WEB_PUBLISH_SIZE_LIMIT_GB=4
#TYPES - comma-delimited
LIGHTHOUSE_DEFAULT_TYPES=audio,video
## NOT USED YET
#ENABLE_LINK_TO_APP=true
#FORCE_ANALYTICS=true
#ENABLE_ADVANCED_FILTER=true
#ENABLE_PAID_CONTENT=true
#USE_FOOTER=true
#USE_DISCOVER_WHITELIST=false
#FULL_SIDE_LINKS=true
##### CUSTOM SERVER DETAILS #######
## Custom Site info
DOMAIN=EXAMPLE.COM
URL=https://EXAMPLE.COM
SITE_TITLE=EXAMPLE.COM
SITE_NAME=EXAMPLE
SITE_DESCRIPTION=Launch your own channel | Watch and share videos
SITE_HELP_EMAIL=help@odysee.com
LOGO_TITLE=EXAMPLE
TWITTER_ACCOUNT=ExampleAccount
# OG
OG_TITLE_SUFFIX=| EXAMPLE.COM
OG_HOMEPAGE_TITLE=EXAMPLE.COM
OG_IMAGE_URL=https://spee.ch/odysee-og:e.png?quality=90&height=1200&width=630
SITE_CANONICAL_URL=odysee.com
# Base config
WEBPACK_WEB_PORT=9090
WEBPACK_ELECTRON_PORT=9091
# Multiple insytances on server change this
WEB_SERVER_PORT=1337