-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (63 loc) · 2.11 KB
/
Copy path.env.example
File metadata and controls
68 lines (63 loc) · 2.11 KB
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
# NODE_ENV=development
# LOG_LEVEL=debug
# LOG_FILE=/tmp/correctomatic.log
# Environment variables for redis, needed by bullMQ
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD="<redis password>"
# Docker configuration. See Dockerode documentation for more information
# If not set, the default is to use the local docker daemon.
# Be careful with quotes and extra commas. The value must be a valid JSON string.
#
# For certificates, use the path to the file. The following fields will be taken as
# paths to the files:
# - ca
# - cert
# - key
# - sshOptions.privateKey
#
# Https example:
# DOCKER_OPTIONS='{
# "host": "my.correctomatic.server",
# "protocol": "https",
# "port": 2376,
# "ca": "/path/to/ca.pem",
# "cert": "/path/to/cert.pem",
# "key": "/path/to/key.pem"
# }'
#
#
# Ssh example (not tested):
# DOCKER_OPTIONS='{
# "protocol": "ssh",
# "host": "my.correctomatic.server",
# "port": 22,
# "username": "dockeruser",
# "sshOptions": {
# "privateKey": "/path/to/private/key"
# }
# }'
# Docker options file. If DOCKER_OPTIONS is not empty, this will be ignored.
# The file is a JSON with the same format as DOCKER_OPTIONS.
DOCKER_OPTIONS_FILE="/path/to/docker-options.json"
# Timeout for Docker operations in milliseconds
DOCKER_TIMEOUT=10000
# Automatically pull images before starting containers. Used only by the starter process
DOCKER_PULL=true
# Timeout for Docker pull operations in milliseconds. Used only by the starter process.
DOCKER_PULL_TIMEOUT=15000
# Repository credentials. Used only by the starter process
DOCKER_REGISTRY_CREDENTIALS='{
"the.registry.domain": {
"username": "theusername",
"password": "thepass"
}
}'
# Path to the file with the repository credentials. Used only by the starter process
# Is mixed with DOCKER_REGISTRY_CREDENTIALS if both are set
DOCKER_REGISTRY_CREDENTIALS_FILE="/path/to/credentials.json"
# Temporary environment variable to prevent starting the container, for debugging the completer
# Can be set to true,y,1 or false,0,n,N,""
DONT_START_CONTAINER=y
# Number of concurrent jobs sending notifications of completed tasks
CONCURRENT_NOTIFIERS=20