-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.template
50 lines (44 loc) · 3.16 KB
/
.env.template
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
# Usage:
# 1. Copy this file as `.env` into your project
# 2. Adapt the information below with the your personal data.
# 3. INFO: escape special characters (see rules below)
#
# The file `.env` is ignored by git. Note: DO NOT COMMIT your personal data.
# It is necessary to set the stage to `development` when developing locally (optional)
#export STAGE=development
export LOG_LEVEL=debug
export NAMESPACE=$(shell kubectl config view --minify -o jsonpath='{..namespace}')
##### Depending on your use case, you need different escaping strategies:
##### 1. If you want to start the dogu operator with `make run` (uses normal environment variables):
# Credentials for the dogu registry. Do not use quotes for the values.
export DOGU_REGISTRY_ENDPOINT=https://dogu.cloudogu.com/api/v2/dogus
export DOGU_REGISTRY_USERNAME=<doguRegistryUsername>
# INFO: escape the special characters for Env-File & Makefile: # with \ and $ with $$
# example: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ \t\n\r\x0b\x0c
# escaped: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"\#$$%&'()*+,-./:;<=>?@[\]^_`{|}~ \t\n\r\x0b\x0c
export DOGU_REGISTRY_PASSWORD=<doguRegistryPassword>
# Credentials for the docker registry. Do not use quotes for the values.
container_registry_server=<containerRegistryServer>
container_registry_username=<containerRegistryUsername>
# INFO: escaping is different, depending on your use case.
# Info: escape the special characters for Env-File, Makefile & JSON: ",#,\ with \ and $ with $$
# example: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ \t\n\r\x0b\x0c
# escaped: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"\#$$%&'()*+,-./:;<=>?@[\\]^_`{|}~ \\t\\n\\r\\x0b\\x0c
##### 2. If you want to to use `make print-debug-info` and start the dogu operator with intelliJ (e.g. for debugging)
#####n (set environment via run-configuration):
## Credentials for the dogu registry. Do not use quotes for the values.
#DOGU_REGISTRY_ENDPOINT=https://dogu.cloudogu.com/api/v2/dogus
#DOGU_REGISTRY_USERNAME=<doguRegistryUsername>
## INFO: escape the special characters for Env-File, Makefile & Shell: #,",` with \ and $ with $$
## example: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ \t\n\r\x0b\x0c
## escaped: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"\#$$%&'()*+,-./:;<=>?@[\]^_\`{|}~ \t\n\r\x0b\x0c
#DOGU_REGISTRY_PASSWORD=<doguRegistryPassword>
#
## Credentials for the docker registry. Do not use quotes for the values.
#container_registry_server=<dockerRegistryServer>
#container_registry_username=<dockerRegistryUsername>
## INFO: escaping is different, depending on your use case.
## Info: escape the special characters for Env-File, Makefile, Shell & JSON: #,` with \, " with \\\", \ with \\\ and $ with $$
## example: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ \t\n\r\x0b\x0c
## escaped: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\\\"\#$$%&'()*+,-./:;<=>?@[\\\]^_\`{|}~ \\\t\\\n\\\r\\\x0b\\\x0c
#container_registry_password=<dockerRegistryPassword>