forked from stelace/stelace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
127 lines (97 loc) · 3.48 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# development, test or production
NODE_ENV=development
# You will need to set your own values in production
# Public API URL, used by batch service and plugins.
# Potentially includes API port if not using 80 or 443 HTTP(S) ports.
# Without trailing slash.
STELACE_API_URL=http://127.0.0.1:4100
# Local API server port. Can be different from STELACE_API_URL port
# when hidden behind some load balancer, depending on infrastructure.
SERVER_PORT=4100
SYSTEM_KEY=system
#############
## PLUGINS ##
#############
# Comma-separated list of local plugin names to ignore when starting server.
# By default all plugins in local `plugins` directory are loaded.
IGNORED_LOCAL_PLUGINS=
# Comma-separated list of plugins installed with npm to load, looked up in node_modules
INSTALLED_PLUGINS=https://github.com/stelace/stelace-search-filter-dsl-parser.git#0.3.0
###############
## DATABASES ##
###############
# Set host to 'redis' and change port if needed when using dockerized API
REDIS_PORT=6379
REDIS_HOST=127.0.0.1
# When using Stelace API server docker container:
# REDIS_HOST=redis
REDIS_DBNUM=0
REDIS_PASSWORD=
REDIS_TLS=false
# Set host to 'postgresql' and change port (like 5432) if needed when using dockerized API
# Otherwise docker-compose file maps from 5432 PostgreSQL default port number in container
# to 6543 host port in order to avoid conflicts since PostgreSQL often ships with OS.
POSTGRES_HOST=127.0.0.1
POSTGRES_PORT=6543
# When using Stelace API server docker container:
# POSTGRES_HOST=postgresql
# POSTGRES_PORT=5432
POSTGRES_DB=stelace-core
POSTGRES_USER=user
POSTGRES_PASSWORD=password
POSTGRES_ADMIN_USER=user
# SSL options (not needed for local development, you may uncomment it for production when SSL is needed)
# If any of the following values isn’t empty, SSL connection with database will be established.
# POSTGRES_SSL=
# For following values, multiline is expected.
# Please pay attention to newlines, we recommend to replace newlines by newline character (\n for Unix),
# set the value in one line and put it between double quotes (e.g. "line1\nline2")
# SSL certificate (common extensions: .crt, .cert, .cer)
# POSTGRES_SSL_CERT=
# Private key (common extension: .key)
# POSTGRES_SSL_KEY=
# Certificate authority (common extensions: .pem, .der)
# POSTGRES_SSL_CA=
# Set host to 'elasticsearch' when using dockerized API
ELASTIC_SEARCH_HOST=127.0.0.1
# When using Stelace API server docker container:
# ELASTIC_SEARCH_HOST=elasticsearch
ELASTIC_SEARCH_PROTOCOL=http
ELASTIC_SEARCH_PORT=9200
ELASTIC_SEARCH_USER=elastic
ELASTIC_SEARCH_PASSWORD=elastic_password
# Load database settings from redis to support multiple databases
REMOTE_STORE=true
############
## EMAILS ##
############
# Comma-separated list of email adresses to send emails to,
# instead of real recipients, for debugging purposes.
DEBUG_EMAILS=
##########
## COTE ##
##########
# Control the scope of auto-discovery in office network with several developers
# COTE_ENV=developername
# Set this to true to enable Cote mesh objects debugging
COTE_LOGGING=
################
## MONITORING ##
################
# ElasticStack APM for monitoring
ELASTIC_APM_SERVER_URL=
# Omit the secret token if not needed
ELASTIC_APM_SECRET_TOKEN=
# To disable APM logging (set to true)
ELASTIC_APM_DISABLED=
###########
## CLOUD ##
###########
AWS_REGION=
# Environments that are handled by this instance (can be comma-separated)
INSTANCE_ENV=test,live
INSTANCE_ID=
# AWS SSM
SECURE_ENV=false
# Can set multiple services (comma-separated)
SECURE_ENV_SERVICE=