mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
170 lines
4.7 KiB
Bash
170 lines
4.7 KiB
Bash
|
|
# What image should we pull from docker hub. This only applies when the ENVIRONMENT is production or test
|
|
APP_TAG=release
|
|
|
|
# This will be generated automatically during install.
|
|
ONEUPTIME_SECRET={{ .Env.ONEUPTIME_SECRET }}
|
|
|
|
# Which domain is this server hosted on?
|
|
DOMAIN=localhost
|
|
# Is this server hosted with a TLS cert. If yes, this should be "https"
|
|
HTTP_PROTOCOL=http
|
|
|
|
# This supports test | production | development | ci.
|
|
# Development is used for local development. Test is used for insider / beta / staging builds. Production is used for production ready app. ci is for testing in the CI/CD.
|
|
ENVIRONMENT=production
|
|
|
|
# IS BILLING ENABLED for this installer.
|
|
BILLING_ENABLED=false
|
|
# Public and private key for billing provider, usually stripe.
|
|
BILLING_PUBLIC_KEY=
|
|
BILLING_PRIVATE_KEY=
|
|
|
|
# Clickhouse Settings
|
|
CLICKHOUSE_USER=default
|
|
CLICKHOUSE_PASSWORD={{ .Env.CLICKHOUSE_PASSWORD }}
|
|
|
|
# Postgres DB Settings.
|
|
DATABASE_PORT=5432
|
|
DATABASE_USERNAME=postgres
|
|
DATABASE_PASSWORD={{ .Env.DATABASE_PASSWORD }}
|
|
DATABASE_NAME=oneuptimedb
|
|
DATABASE_HOST=postgres
|
|
|
|
# Redis DB Settings.
|
|
REDIS_PASSWORD={{ .Env.REDIS_PASSWORD }}
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
|
|
ENCRYPTION_SECRET={{ .Env.ENCRYPTION_SECRET }}
|
|
DISABLE_SIGNUP=false
|
|
|
|
# Hostnames. Usually does not need to change.
|
|
REALTIME_HOSTNAME=realtime:3300
|
|
NOTIFICATION_HOSTNAME=notification:3191
|
|
DASHBOARD_HOSTNAME=dashboard:3000
|
|
DASHBOARD_API_HOSTNAME=dashboard-api:3002
|
|
WORKFLOW_HOSTNAME=workflow:3099
|
|
LINK_SHORTNER_HOSTNAME=link-shortner:3521
|
|
ALERT_HOSTNAME=alert:3088
|
|
PROBE_API_HOSTNAME=probe-api:3400
|
|
TEST_SERVER_HOSTNAME=test-server:3800
|
|
DATA_INGESTOR_HOSTNAME=data-ingestor:3200
|
|
ACCOUNTS_HOSTNAME=accounts:3003
|
|
HOME_HOSTNAME=home:1444
|
|
WORKER_HOSTNAME=worker:3452
|
|
API_DOCS_HOSTNAME=api-reference:1445
|
|
|
|
# Routes. Usually does not need to change.
|
|
REALTIME_ROUTE=/realtime
|
|
API_DOCS_ROUTE=/reference
|
|
NOTIFICATION_ROUTE=/notification
|
|
DASHBOARD_ROUTE=/dashboard
|
|
DASHBOARD_API_ROUTE=/api
|
|
WORKFLOW_ROUTE=/workflow
|
|
LINK_SHORTNER_ROUTE=/l
|
|
ALERT_ROUTE=/alert
|
|
TEST_SERVER_API_ROUTE=/test-server
|
|
PROBE_API_ROUTE=/probe-api
|
|
DATA_INGESTOR_ROUTE=/data-ingestor
|
|
ACCOUNTS_ROUTE=/accounts
|
|
HOME_ROUTE=
|
|
HELMCHARTS_ROUTE=/charts
|
|
API_REFERENCE_ROUTE=/reference
|
|
IDENTITY_ROUTE=/identity
|
|
FILE_ROUTE=/file
|
|
STATUS_PAGE_ROUTE=/status-page
|
|
|
|
#Ports. Usually they dont need to change.
|
|
DASHBOARD_API_PORT=3002
|
|
API_DOCS_PORT=1445
|
|
WORKFLOW_PORT=3099
|
|
LINK_SHORTNER_PORT=3521
|
|
ALERT_PORT=3088
|
|
PROBE_API_PORT=3400
|
|
PROBE_PORT=3500
|
|
TEST_SERVER_PORT=3800
|
|
FILE_PORT=3125
|
|
HOME_PORT=1444
|
|
IDENTITY_PORT=3087
|
|
NOTIFICATION_PORT=3191
|
|
REALTIME_PORT=3300
|
|
WORKERS_PORT=3452
|
|
ACCOUNTS_PORT=3003
|
|
STATUS_PAGE_PORT=3105
|
|
DASHBOARD_PORT=3009
|
|
|
|
# Internal SMTP Server - Haraka
|
|
INTERNAL_SMTP_USER=alert@oneuptime.com
|
|
INTERNAL_SMTP_PASSWORD=oneuptime
|
|
|
|
# Licensing Database
|
|
AIRTABLE_API_KEY=
|
|
AIRTABLE_BASE_ID=
|
|
TOKEN_SECRET={{ .Env.ENCRYPTION_SECRET }}
|
|
|
|
# SMTP SETTINGS
|
|
SMTP_USERNAME=
|
|
SMTP_PASSWORD=
|
|
SMTP_PORT=
|
|
SMTP_EMAIL=
|
|
SMTP_FROM_NAME=
|
|
SMTP_IS_SECURE=
|
|
SMTP_HOST=
|
|
|
|
# Plans
|
|
# This is in the format of <PlanName>,<PlanIdFromBillingProvider>,<MonthlySubscriptionPlanAmountInUSD>,<YearlySubscriptionPlanAmountInUSD>,<Order>,<TrialPeriodInDays>
|
|
# Enterprise plan will have -1 which means custom pricing.
|
|
SUBSCRIPTION_PLAN_BASIC=Basic,<priceMonthlyId>,<priceYearlyId>,0,0,1,0
|
|
SUBSCRIPTION_PLAN_GROWTH=Growth,<priceMonthlyId>,<priceYearlyId>,0,0,2,14
|
|
SUBSCRIPTION_PLAN_SCALE=Scale,<priceMonthlyId>,<priceYearlyId>,0,0,3,0
|
|
SUBSCRIPTION_PLAN_ENTERPRISE=Enterprise,<priceMonthlyId>,<priceYearlyId>,-1,-1,4,14
|
|
|
|
STATUS_PAGE_CNAME_RECORD=statuspage.oneuptime.com
|
|
|
|
|
|
DATABASE_BACKUP_DIRECTORY=/Backups
|
|
DATABASE_BACKUP_HOST=localhost
|
|
DATABASE_BACKUP_PORT=5400
|
|
DATABASE_BACKUP_NAME=oneuptimedb
|
|
DATABASE_BACKUP_USERNAME=postgres
|
|
DATABASE_BACKUP_PASSWORD={{ .Env.DATABASE_PASSWORD }}
|
|
|
|
|
|
DATABASE_RESTORE_DIRECTORY=/Backups
|
|
DATABASE_RESTORE_HOST=localhost
|
|
DATABASE_RESTORE_PORT=5400
|
|
DATABASE_RESTORE_NAME=oneuptimedb
|
|
DATABASE_RESTORE_USERNAME=postgres
|
|
DATABASE_RESTORE_PASSWORD={{ .Env.DATABASE_PASSWORD }}
|
|
DATABASE_RESTORE_FILENAME=db-31.backup
|
|
|
|
ANALYTICS_KEY=
|
|
ANALYTICS_HOST=
|
|
|
|
DATABASE_MIGRATIONS_HOST=localhost
|
|
DATABASE_MIGRATIONS_PORT=5400
|
|
|
|
# Global Probes
|
|
# This is in the format of GLOBAL_PROBE_<NAME>=<ProbeName>,<ProbeDescription>,<ProbeKey>
|
|
GLOBAL_PROBE_1_NAME=OneUptime
|
|
GLOBAL_PROBE_1_DESCRIPTION="Global probe to monitor oneuptime resources"
|
|
GLOBAL_PROBE_1_KEY={{ .Env.GLOBAL_PROBE_1_KEY }}
|
|
|
|
GLOBAL_PROBE_2_NAME=
|
|
GLOBAL_PROBE_2_DESCRIPTION=
|
|
GLOBAL_PROBE_2_KEY={{ .Env.GLOBAL_PROBE_2_KEY }}
|
|
|
|
SENDGRID_API_KEY=
|
|
|
|
# METERED PLANS: This is in the format of <MONTHLY_PRICE_ID>,<YEARLY_PRICE_ID>,<value per unit>,unitName
|
|
METERED_PLAN_ACTIVE_MONITORING=<priceMonthlyId>,<priceYearlyId>,1,active-monitor,month
|
|
|
|
|
|
# Twilio Settings
|
|
TWILIO_ACCOUNT_SID=
|
|
TWILIO_AUTH_TOKEN=
|
|
TWILIO_PHONE_NUMBER=
|
|
SMS_DEFAULT_COST_IN_CENTS=
|
|
CALL_DEFAULT_COST_IN_CENTS_PER_MINUTE=
|