-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
55 lines (48 loc) · 1.39 KB
/
.env.example
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
#Project
PROJECT_NAME=linux_package_search
PROJECT_BASE_URL=linux-package-search.localhost
HOST=localhost #In local dev environment, we assume that the Docker services all share the same host
#Postgres
POSTGRES_TAG=9.6.16
DB_NAME=linux_packages
DB_USER=user
DB_PASSWORD=pass
DB_ROOT_PASSWORD=password
DB_HOST=postgres
DB_PORT=5432
DB_CONTAINER_PORT=5432
#Adminer
ADMINER_TAG=4.7.6-standalone
ADMINER_PORT=8080
#Node
NODE_TAG=12.13.1-alpine3.10
NODE_PORT=3000
NODE_ENV=development
###Change and uncomment NODE_API_SECRET###
#NODE_API_SECRET=YourSecretHere
NODE_DB_CLIENT=pg
NODE_RATE_LIMIT_REQUESTS=1000
NODE_RATE_LIMIT_RESET=600000
NODE_CACHE_BACKEND=memory
#NODE_CACHE_BACKEND=redis
NODE_CACHE_LIFETIME=3600
NODE_REDIS_HOST=127.0.0.1
NODE_REDIS_PORT=6379
NODE_ELASTICSEARCH_HOST=http://127.0.0.1:9200
NODE_ELASTICSEARCH_INDEX=linux-packages
#Nginx
NGINX_TAG=1.17.8-alpine
NGINX_PORT=80
#Redis
REDIS_TAG=alpine3.11
REDIS_PORT=6379
#Elasticsearch
ELASTICSEARCH_TAG=7.6.1
ELASTICSEARCH_REST_PORT=9200
ELASTICSEARCH_NODE_PORT=9300
ES_JAVA_OPTS="ES_JAVA_OPTS=-Xmx1024m -Xms1024m"
BOOTSTRAP_MEMORY_LOCK=bootstrap.memory_lock=true
DISCOVERY_TYPE=discovery.type=single-node
ELASTICSEARCH_NODE_NAME_MASTER=node.name=es-linux-package-search-master
ELASTICSEARCH_CLUSTER_NAME=cluster.name=es-linux-package-search-cluster
ELASTICSEARCH_CLUSTER_INITIAL_MASTER_NODES=cluster.initial_master_nodes=es-linux-package-search-master