-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
16 lines (12 loc) · 1004 Bytes
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PORT=8080 # PORT to be exposed for API
DATA_PATH_HOST= # HOST machine path where docker will save it's data
CASSANDRA_DB_HOST=cassandra:9042 # cassandra HOST comma separated if run using docker compose then leave it as it is
CASSANDRA_USER=cassandra # cassandra user if run using docker compose then leave it as it is
CASSANDRA_PASSWORD=cassandra # cassandra password if run using docker compose then leave it as it is
CASSANDRA_MAX_RETRY_CONNECT=10 # number of times it will try to connect to cassandra
DATA_FILE_PATH=data/promotions.csv # path of the CSV file for CRON job
CRON_SCHEDULE="@every 30m" # CRON schedule adjust it to run it faster or slower
CRON_EXIT_ON_ERROR=true # CRON exit on error
MEMCACHED_SERVER=memcached:11211 # memcache SERVER comma separated if run using docker compose then leave it as it is
REDIS_SERVER=redis:6379 # redis SERVER if run using docker compose then leave it as it is
REDIS_PREFIX="CSV:SERVE:" # redis prefix if run using docker compose then leave it as it is