-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.env
128 lines (95 loc) · 4.94 KB
/
.env
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# If you're coming here from the README, welcome! If you are looking at this
# file but haven't read the README, you should read that first. You can edit
# this .env file with any custom configurations you wish to make on your
# Controller setup. It is dynamically sourced by the Makefile and
# docker-compose. It is made to work with the make commands defined in the
# README for how to set up the Controller.
#
# By default, the Controller operates in Premise Edge mode. Premise Edge mode
# deploys and manages container apps using the platform's native Docker
# orchestrator.
#
# If you wish to switch to Network Edge mode, which deploys and manages
# container apps using a Kubernetes orchestrator, you'll need to uncomment
# specific sections of this file.
###################### Common Configurations ##################################
# Logging
## Change this variable to change the log level. Log levels are case
## insensitive and the following are supported: emerg, emergency, alert, crit,
## critical, err, error, warn, warning, notice, info, information, debug.
CCE_LOG_LEVEL=info
# Database
## Change this variable to change the database password. It is strongly
## recommended that you change this password to a reasonably secure password.
## Leaving the default password unchanged or using a weak password is a
## security vulnerability.
MYSQL_ROOT_PASSWORD=changeme
# Backend
## Change this variable to change the backend password. It is used for API and
## UI authentication and login. It is strongly recommended that you change this
## password to a reasonbly secure password. Leaving the default password
## unchanged or using a weak password is a security vulnerability.
CCE_ADMIN_PASSWORD=changeme
# Controller
## Change this variable to change the controller URI. This is used by the web
## UI clients to perform API calls to the backend. Unless running locally,
## leaving the default will not work for clients. The address in this URI
## should match the external address of the Controller backend.
REACT_APP_CONTROLLER_API=http://localhost:8080
# CUPS
## Change this variable to change the CUPS URI. This is used by the web UI
## clients to perform API calls to the backend. Unless running locally, leaving
## the default will not work for clients. The address in this URI should match
## the external address of the CUPS backend.
REACT_APP_CUPS_API=http://localhost:8080
################## Premise Edge mode configurations ###########################
# Comment out all variables in this section if you do not wish to use Premise
# Edge mode. Refer to the Network Edge mode section for configuration.
# Mode
## Change this variable to change the mode. The following are supported: native
## and kubernetes.
CCE_ORCHESTRATION_MODE=native
################## Network Edge mode configurations ###########################
# Comment out all variables in this section if you do not wish to use Network
# Edge mode. Refer to the Premise Edge mode section for configuration.
# Mode
## Change this variable to change the mode. The following are supported: native
## and kubernetes.
# CCE_ORCHESTRATION_MODE=kubernetes
# Kubernetes Master
## Change this variable to change the host address of the Kubernetes master the
## Controller should use.
# CCE_K8S_MASTER_HOST=<KUBERNETES-MASTER-HOST-ADDRESS>
# Kubernetes Master User
## Change this variable to change the user of the Kubernetes master. The
## Controller uses this to communicate to the Kubernetes master.
# CCE_K8S_MASTER_USER=<KUBERNETES-DEFAULT_USER>
# Kubernetes API
## Change this variable to change the API path of the Kubernetes API. The
## Controller uses this to perform API requests to Kubernetes.
# CCE_K8S_API_PATH=<KUBERNETES-API-PATH>
# Client Root CA (Kubernetes)
## Change this variable to change the full file path to your Kubernetes client
## root CA. Kubernetes API clients use this to authenticate the Kubernetes API.
# CCE_K8S_CLIENT_CA_PATH=/your/path/ca.pem
# Client Certificate (Kubernetes)
## Change this variable to change the full file path to your Kubernetes client
## certificate. Kubernetes API clients use this to authenticate the
## Kubernetes API.
# CCE_K8S_CLIENT_CERT_PATH=/your/path/cert.pem
# Client Key (Kubernetes)
## Change this variable to change the full file path to your Kubernetes client
## key. Kubernetes API clients use this to authenticate the Kubernetes API.
# CCE_K8S_CLIENT_KEY_PATH=/your/path/key.pem
################### Developer build configurations ############################
# Build Token (GitHub)
## Change this variable to change the token used to fetch private repository
## dependencies. If you have any dependencies which are private, you must
## provide a token in order to allow the Dockerfile to access the repository.
## Check out the following URL to learn how to generate a token:
##
## https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line
##
## Paste your access token in the variable below if you need to enable this
## functionality.
GITHUB_TOKEN=