-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.env.quickstart
More file actions
23 lines (18 loc) · 823 Bytes
/
.env.quickstart
File metadata and controls
23 lines (18 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# AIM Quickstart Environment Variables
# Copy this file to .env and replace the CHANGE_ME values.
#
# Generate secure values automatically:
# sed -i.bak "s|CHANGE_ME_POSTGRES|$(openssl rand -hex 16)|; s|CHANGE_ME_REDIS|$(openssl rand -hex 16)|; s|CHANGE_ME_JWT|$(openssl rand -hex 32)|; s|CHANGE_ME_KEYVAULT|$(openssl rand -base64 32)|" .env && rm .env.bak
# Database
POSTGRES_PASSWORD=CHANGE_ME_POSTGRES
# Redis
REDIS_PASSWORD=CHANGE_ME_REDIS
# Security (generate with: openssl rand -hex 32)
JWT_SECRET=CHANGE_ME_JWT
# KeyVault (generate with: openssl rand -base64 32)
KEYVAULT_MASTER_KEY=CHANGE_ME_KEYVAULT
# Uncomment and update for non-localhost deployments:
# FRONTEND_URL=https://aim.example.com
# ALLOWED_ORIGINS=https://aim.example.com
# FRONTEND_API_URL=https://api.aim.example.com
# ENVIRONMENT=production