.env.sample
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.sample)
NODE_ENV
SECRET_KEY
secret
Generate a hex-encoded 32-byte random key. You should use `openssl rand -hex 32` in your terminal to generate a random value.
UTILS_SECRET
secret
Generate a unique random key. The format is not important but you could still use `openssl rand -hex 32` in your terminal to produce this.
DATABASE_URL
secret
For production point these at your databases, in development the default should work out of the box.
DATABASE_URL_TEST
secret
DATABASE_CONNECTION_POOL_MIN
DATABASE_CONNECTION_POOL_MAX
REDIS_URL
secret
For redis you can either specify an ioredis compatible url like this
URL
URL should point to the fully qualified, publicly accessible URL. If using a proxy the port in URL and PORT may be different.
PORT
COLLABORATION_URL
See [documentation](docs/SERVICES.md) on running a separate collaboration server, for normal operation this does not need to be set.
AWS_ACCESS_KEY_ID
secret
A more detailed guide on setting up S3 is available here: => https://wiki.generaloutline.com/share/125de1cc-9ff6-424b-8415-0d58c809a40f
AWS_SECRET_ACCESS_KEY
secret
AWS_REGION
secret
AWS_S3_ACCELERATE_URL
secret
AWS_S3_UPLOAD_BUCKET_URL
secret
AWS_S3_UPLOAD_BUCKET_NAME
secret
AWS_S3_UPLOAD_MAX_SIZE
secret
AWS_S3_FORCE_PATH_STYLE
secret
AWS_S3_ACL
secret