-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.env.example
83 lines (70 loc) · 2.85 KB
/
.env.example
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# The environment the app is running in, either production or development
NODE_ENV=production
# Port which @cryb/portals should listen on
PORT=5000
# The base REST endpoint that is used to talk to @cryb/api
API_URL=http://localhost:4000
# This should the same secure key in @cryb/api/.env under 'PORTALS_API_KEY'
API_KEY=api-portals-key
# This should the same secure key in @cryb/portal/.env under 'PORTALS_KEY'
PORTAL_KEY=portals-portal-key
# The URI used for connecting to the MongoDB database
MONGO_URI=mongodb://localhost:27017/cryb
# The URI used for connecting to Redis instance
REDIS_URI=redis://localhost:6379
# If you're using redis-ha on Kubernetes, set the URI for the Sentinel below
# Make sure to uncomment the below line and uncomment the REDIS_URI line above
# REDIS_SENTINELS=
# The driver that will handle the deployment of your portals
DRIVER=manual
# Optional: Docker socket path. Varies from system
# DOCKER_SOCK=/var/run/docker.sock
# OR host and port. Requires manual configuration
# DOCKER_HOST=http://127.0.0.1
# DOCKER_PORT=2375
# The Docker image ID the portals will be deployed with
# DOCKER_IMAGE=cryb/portal
# Docker /dev/shm size to set (in MB)
# DOCKER_SHM_SIZE=1024
# Optional: the DigitalOcean API token used for digitalocean.driver
# DO_API_TOKEN=
# The region used for portal deployments on DigitalOcean
# DO_REGION=nyc3
# The size the portals will be deployed with
# DO_SIZE=s-1vcpu-1gb
# The image name/ID portals will be deployed with
# Setup guide at https://gist.github.com/69/a60838a5d67807da574edcfd3193af64
# DO_IMAGE=
# Optional: the Hetzner Cloud API token used for hetznercloud.driver
# HETZNER_API_KEY=
# The Hetzner Cloud image ID used for portal creation.
# Setup guide at https://gist.github.com/69/a60838a5d67807da574edcfd3193af64
# HETZNER_IMAGE_ID=
# The zone ID your portals will be deployed in
# HETZNER_ZONE_ID=nbg1
# The server type your portals will be deployed with
# HETZNER_SERVER_TYPE=cx11
# Janus config for janus enabled instances
# ENABLE_JANUS=false
# JANUS_HOSTNAME=localhost
# JANUS_STREAMING_ADMIN_KEY=
# JANUS_PORT=8088
# Optional: the JSON Google Application Credentials used for gcloud.driver
# GOOGLE_APPLICATION_CREDENTIALS=
# The Zone ID where to deploy the portal on
# GOOGLE_ZONE_ID=us-east1-b
# Optional: configuration for kubernetes.driver
# The URL of the registry the image for the portal is located at
# K8S_PORTAL_IMAGE_REGISTRY_URL=
# The name of the secret for pulling the image from the registry
# K8S_PORTAL_IMAGE_PULL_SECRET=
# The name of the secret for the container env variables
# K8S_PORTAL_ENV_SECRET=
# The requested CPU limit for the portal instance
# K8S_PORTAL_CPU_LIMIT=
# The requested memory limit for the portal instance
# K8S_PORTAL_MEMORY_LIMIT=
# The requested CPU for the portal instance
# K8S_PORTAL_CPU_REQUESTED=
# The requested memory for the portal instance
# K8S_PORTAL_MEMORY_REQUESTED=