forked from coderamp-labs/pad.ws
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.template
More file actions
38 lines (31 loc) · 901 Bytes
/
.env.template
File metadata and controls
38 lines (31 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Port Configuration
POSTGRES_PORT=5432
KEYCLOAK_PORT=8080
CODER_PORT=7080
APP_PORT=8000
# API Configuration
API_WORKERS=1
FRONTEND_URL=your_frontend_url
# Database Configuration
POSTGRES_USER=admin
POSTGRES_PASSWORD=admin123
POSTGRES_DB=pad
# Redis Configuration
REDIS_PASSWORD=redis123
REDIS_HOST=redis
REDIS_PORT=6379
# Keycloak Configuration
KEYCLOAK_ADMIN=admin
KEYCLOAK_ADMIN_PASSWORD=admin123
# Fill this after you have created a realm and client in keycloak
OIDC_REALM=your_realm
OIDC_CLIENT_ID=your_client_id
OIDC_CLIENT_SECRET=your_client_secret
# Docker group id for coder, get it with: getent group docker | cut -d: -f3
DOCKER_GROUP_ID=your_docker_group_id
# Coder Configuration
CODER_ADDITIONAL_CSP_POLICY=frame-ancestors *
CODER_API_KEY=your_coder_api_key
CODER_TEMPLATE_ID=your_template_id
CODER_DEFAULT_ORGANIZATION=your_organization_id
CODER_WORKSPACE_NAME=your_workspace_name