Commit 5c69d3b9 authored by erdnaxe's avatar erdnaxe 🎇

Kutt env

parent 9463d87e
......@@ -9,11 +9,8 @@ services:
- redis
ports:
- 8089:3000
environment:
- DB_HOST=postgres
- DB_NAME=kutt
- DB_USER=kutt
- "DB_PASSWORD:${POSTGRES_PASSWD}"
env_file:
- .env
restart: always
redis:
......@@ -26,5 +23,6 @@ services:
environment:
- POSTGRES_DB=kutt
- POSTGRES_USER=kutt
- "POSTGRES_PASSWORD=${POSTGRES_PASSWD}"
- "POSTGRES_PASSWORD=${DB_PASSWORD}"
restart: always
POSTGRES_PASSWD=asupersecurepassword
# App port to run on
PORT=3000
# The domain that this website is on
DEFAULT_DOMAIN="kutt.servens.club"
# Postgres database credential details
DB_HOST=postgres
DB_NAME=kutt
DB_USER=kutt
DB_PASSWORD=CHANGE ME
# Redis host and port
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
# The daily limit for each user
USER_LIMIT_PER_DAY=50
# Create a cooldown for non-logged in users in minutes
# Set 0 to disable
NON_USER_COOLDOWN=0
# Max number of visits for each link to have detailed stats
DEFAULT_MAX_STATS_PER_LINK=5000
# Use HTTPS for links with custom domain
CUSTOM_DOMAIN_USE_HTTPS=true
# A passphrase to encrypt JWT. Use a long and secure key.
JWT_SECRET=CHANGE ME
# Admin emails so they can access admin actions on settings page
# Comma seperated
ADMIN_EMAILS=
# Invisible reCaptcha secret key
# Create one in https://www.google.com/recaptcha/intro/
RECAPTCHA_SITE_KEY=
RECAPTCHA_SECRET_KEY=
# Google Cloud API to prevent from users from submitting malware URLs.
# Get it from https://developers.google.com/safe-browsing/v4/get-started
GOOGLE_SAFE_BROWSING_KEY=
# Google Analytics tracking ID for universal analytics.
# Example: UA-XXXX-XX
GOOGLE_ANALYTICS=
GOOGLE_ANALYTICS_UNIVERSAL=
# Google Analytics tracking ID for universal analytics
# This one is used for links
# GOOGLE_ANALYRICS_UNIVERSAL=
# Your email host details to use to send verification emails.
# More info on http://nodemailer.com/
# Mail from example "Kutt <support@kutt.it>". Leave empty to use MAIL_USER
MAIL_HOST=
MAIL_PORT=
MAIL_SECURE=true
MAIL_USER=
MAIL_FROM=
MAIL_PASSWORD=
# The email address that will receive submitted reports.
REPORT_MAIL=
# Support email to show on the app
CONTACT_EMAIL=
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment