-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconf.sh.example
More file actions
69 lines (55 loc) · 2.14 KB
/
conf.sh.example
File metadata and controls
69 lines (55 loc) · 2.14 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
69
#!/bin/bash
# VERSION and REGISTRY are provided by CoScale, don't change these.
export VERSION="3.20.7"
export REGISTRY=docker.coscale.com
# Fill in the registry username and password provided by CoScale.
export REGISTRY_USERNAME=
export REGISTRY_PASSWORD=
# Choose a user (has to be a valid email address) and password for the super user.
export API_SUPER_USER=
export API_SUPER_PASSWD=
# Fill in the hostname of the CoScale machine.
export CS_HOST=
# Set ENABLE_HTTPS to 1 to use HTTPS. Place your certificate, intermediates and private key in data/ssl/https.pem
export ENABLE_HTTPS=0
# Provide a valid email server configuration below
export MAIL_SERVER=
export MAIL_PORT=25
export MAIL_SSL=false
export MAIL_TLS=false
export MAIL_AUTH=false
export MAIL_USERNAME=
export MAIL_PASSWORD=
# Fill in the email address from which CoScale emails will be sent.
export FROM_EMAIL=dummy@coscale.com
# Fill in the email address of the CoScale administrator below.
export SUPPORT_EMAIL=dummy@coscale.com
export ANOMALY_EMAIL=dummy@coscale.com
# Set to true when using an external Cassandra cluster
export USE_EXTERNAL_CASSANDRA=false
# In case of an external Cassandra cluster, fill in the Cassandra endpoints
export EXTERNAL_CASSANDRA_ENDPOINTS=cassandra001:9042,cassandra002:9042
# Configure cassandra cleanup.
# CASSANDRA_CLEANER_SLACK=0 : no cleanup is done
# CASSANDRA_CLEANER_SLACK=1 : data is cleaned according to the default time-to-live:
# RESOLUTION TTL
# 1 minute 1 week
# 5 minutes 1 month
# 15 minutes 3 months
# 30 minutes 6 months
# 1 hour 1 year
#
# Choosing a value > 1 will multiply the TTL's accordingly. For example setting CASSANDRA_CLEANER_SLACK=3
# will keep data at minute resolution for 3 weeks, at 5 minutes resolution for 3 months etc.
export CASSANDRA_CLEANER_SLACK=1
# Tune the number of datastore workers (default:10)
# export DATASTORE_THREADS=30
## DO NOT UPDATE BELOW THIS LINE
if [ "$ENABLE_HTTPS" == "1" ]; then
PREFIX="https://"
else
PREFIX="http://"
fi
export API_URL=${PREFIX}${CS_HOST}
export APP_URL=${PREFIX}${CS_HOST}
export RUM_URL=${CS_HOST}