|
| 1 | +##################################################################### |
| 2 | +## ## |
| 3 | +## Default lowcoder environment variables. ## |
| 4 | +## ## |
| 5 | +## !!! PLEASE DO NOT CHANGE THIS FILE !!! ## |
| 6 | +## ## |
| 7 | +## To change the variables use file: override.env ## |
| 8 | +## ## |
| 9 | +## It will be loaded automatically and will override the defaults ## |
| 10 | +## You don't have to copy the whole default.env, only the changed ## |
| 11 | +## environment variables. ## |
| 12 | +## ## |
| 13 | +##################################################################### |
| 14 | + |
| 15 | + |
| 16 | +## |
| 17 | +## Enable services (applies to all-in-one deployment) ## |
| 18 | +## - you can disable them in favor of external services |
| 19 | +# |
| 20 | +# If true redis server is started in the container |
| 21 | +LOWCODER_REDIS_ENABLED="true" |
| 22 | +# If true mongo database is started in the container |
| 23 | +LOWCODER_MONGODB_ENABLED="true" |
| 24 | +# If true lowcoder api-service is started in the container |
| 25 | +LOWCODER_API_SERVICE_ENABLED="true" |
| 26 | +# If true lowcoder node-service is started in the container |
| 27 | +LOWCODER_NODE_SERVICE_ENABLED="true" |
| 28 | +# If true lowcoder web frontend is started in the container |
| 29 | +LOWCODER_FRONTEND_ENABLED="true" |
| 30 | +# |
| 31 | +# Set LOWCODER_MONGODB_EXPOSED to "true" and uncomment mongodb port |
| 32 | +# to make internal mongo database accessible from host |
| 33 | +# (applies to all-in-one deployment) |
| 34 | +# |
| 35 | +LOWCODER_MONGODB_EXPOSED="false" |
| 36 | + |
| 37 | +## |
| 38 | +## Generic parameters |
| 39 | +## |
| 40 | +# |
| 41 | +# URL of the public User Interface |
| 42 | +LOWCODER_PUBLIC_URL="http://localhost:3000/" |
| 43 | + |
| 44 | +# ID of user running services. It will own all created logs and data. |
| 45 | +LOWCODER_PUID="1000" |
| 46 | +# ID of group of the user running services |
| 47 | +LOWCODER_PGID="1000" |
| 48 | + |
| 49 | +## |
| 50 | +## api-service parameters |
| 51 | +## |
| 52 | +# Name of the lowcoder application cookie |
| 53 | +LOWCODER_COOKIE_NAME=LOWCODER_CE_SELFHOST_TOKEN |
| 54 | +# Lowcoder application cookie max age in hours |
| 55 | +LOWCODER_COOKIE_MAX_AGE=24 |
| 56 | +# Default maximum organizations per user |
| 57 | +LOWCODER_MAX_ORGS_PER_USER=100 |
| 58 | +# Default maximum members per organization |
| 59 | +LOWCODER_MAX_MEMBERS_PER_ORG=1000 |
| 60 | +# Default maximum groups per organization |
| 61 | +LOWCODER_MAX_GROUPS_PER_ORG=100 |
| 62 | +# Default maximum applications per organization |
| 63 | +LOWCODER_MAX_APPS_PER_ORG=1000 |
| 64 | +# Default maximum developers |
| 65 | +LOWCODER_MAX_DEVELOPERS=50 |
| 66 | +# Mongo database connection string (use the later one in case of multi-image compose) |
| 67 | +LOWCODER_MONGODB_URL="mongodb://localhost:27017/lowcoder?authSource=admin" |
| 68 | +#LOWCODER_MONGODB_URL="mongodb://lowcoder:secret123@mongodb/lowcoder?authSource=admin" |
| 69 | +# Redis server URL |
| 70 | +LOWCODER_REDIS_URL="redis://localhost:6379" |
| 71 | +# Control if users create their own Workspace automatic when Sign Up |
| 72 | +LOWCODER_EMAIL_SIGNUP_ENABLED="true" |
| 73 | +# Controls whether authentication via email is enabled |
| 74 | +LOWCODER_EMAIL_AUTH_ENABLED="true" |
| 75 | +# IF LOWCODER_WORKSPACE_MODE = SAAS, controls if own workspace is created for the user after sign up |
| 76 | +LOWCODER_CREATE_WORKSPACE_ON_SIGNUP="true" |
| 77 | +# Application snapshots retention time in days |
| 78 | +LOWCODER_APP_SNAPSHOT_RETENTIONTIME=30 |
| 79 | +# |
| 80 | +# ! PLEASE CHANGE THESE TO SOMETHING UNIQUE ! |
| 81 | +# |
| 82 | +# LOWCODER_DB_ENCRYPTION_PASSWORD and LOWCODER_DB_ENCRYPTION_SALT is used |
| 83 | +# to encrypt sensitive data in mongo database so it is important to change the defaults |
| 84 | +# |
| 85 | +LOWCODER_DB_ENCRYPTION_PASSWORD="lowcoder.org" |
| 86 | +LOWCODER_DB_ENCRYPTION_SALT="lowcoder.org" |
| 87 | + |
| 88 | +# CORS allowed domains |
| 89 | +LOWCODER_CORS_DOMAINS="*" |
| 90 | +# |
| 91 | +# API-KEY secret - should be a string of at least 32 random characters |
| 92 | +# - on linux/mac, generate one eg. with: head /dev/urandom | head -c 30 | shasum -a 256 |
| 93 | +# |
| 94 | +LOWCODER_API_KEY_SECRET="5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b" |
| 95 | + |
| 96 | +## |
| 97 | +## api and node service parameters |
| 98 | +## |
| 99 | +# Directory holding lowcoder plugins |
| 100 | +LOWCODER_PLUGINS_DIR="../plugins" |
| 101 | +# Number of max Request per Second - set to 0 to disable rate limiting |
| 102 | +LOWCODER_API_RATE_LIMIT=100 |
| 103 | +# Lowcoder API service URL |
| 104 | +LOWCODER_API_SERVICE_URL="http://localhost:8080" |
| 105 | +# Lowcoder Node service URL |
| 106 | +LOWCODER_NODE_SERVICE_URL="http://localhost:6060" |
| 107 | + |
| 108 | +## |
| 109 | +## Frontend parameters |
| 110 | +## |
| 111 | +# Lowcoder max request size |
| 112 | +LOWCODER_MAX_REQUEST_SIZE=20m |
| 113 | +# Lowcoder max query timeout (in seconds) |
| 114 | +LOWCODER_MAX_QUERY_TIMEOUT=120 |
| 115 | +# Default lowcoder query timeout |
| 116 | +LOWCODER_DEFAULT_QUERY_TIMEOUT=10 |
| 117 | +# SAAS to activate, ENTERPRISE to switch off - Workspaces |
| 118 | +LOWCODER_WORKSPACE_MODE=SAAS |
| 119 | +# Controls whether to show Apps on the local Marketplace to anonymous users |
| 120 | +# - if true, apps are not shown to anonymous users |
| 121 | +LOWCODER_MARKETPLACE_PRIVATE_MODE="true" |
| 122 | + |
| 123 | +## |
| 124 | +## Lowcoder notification emails setup |
| 125 | +## |
| 126 | +# Mail server host |
| 127 | +LOWCODER_ADMIN_SMTP_HOST=localhost |
| 128 | +# Mail server port |
| 129 | +LOWCODER_ADMIN_SMTP_PORT=587 |
| 130 | +# Use authentication when sending email |
| 131 | +LOWCODER_ADMIN_SMTP_AUTH="true" |
| 132 | +# Username (email) used for authentication |
| 133 | +LOWCODER_ADMIN_SMTP_USERNAME= |
| 134 | +# Password used for authentication |
| 135 | +LOWCODER_ADMIN_SMTP_PASSWORD= |
| 136 | +# Enable SSL for connetion to the mail server |
| 137 | +LOWCODER_ADMIN_SMTP_SSL_ENABLED="false" |
| 138 | +# Enable STARTTLS |
| 139 | +LOWCODER_ADMIN_SMTP_STARTTLS_ENABLED="true" |
| 140 | +# Require STARTTLS |
| 141 | +LOWCODER_ADMIN_SMTP_STARTTLS_REQUIRED="true" |
| 142 | + |
| 143 | +# Email used in notifications from lowcoder |
| 144 | +LOWCODER_EMAIL_NOTIFICATIONS_SENDER=info@localhost |
| 145 | + |
| 146 | +# Lowcoder superuser username |
| 147 | +LOWCODER_SUPERUSER_USERNAME=admin@localhost |
| 148 | +# Lowcoder superuser password |
| 149 | +# If left blank, a password will be generated and written into log (lowcoder-stacks/logs/api-service/api-service.log) |
| 150 | +LOWCODER_SUPERUSER_PASSWORD= |
| 151 | + |
| 152 | + |
0 commit comments