-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env
62 lines (46 loc) · 1.85 KB
/
.env
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
# set a short project name, all containers will be prefixed with this name
COMPOSE_PROJECT_NAME=search
# unify separator with windows style
COMPOSE_PATH_SEPARATOR=;
# dev is default target
# in prod, you should use docker-compose.yml;docker/prod.yml;docker/monitor.yml
COMPOSE_FILE=docker-compose.yml;docker/dev.yml
# Version of Elastic products
STACK_VERSION=8.3.3
# Set TAG to sha-<commit sha> of the version you want to use
# if you want to use a docker image from our repository
# TAG=sha-
# Set the cluster name
CLUSTER_NAME=docker-cluster
# Set to 'basic' or 'trial' to automatically start the 30-day trial
# LICENSE=basic
# Exposing search API and es-vue services to the host
SEARCH_EXPOSE=127.0.0.1:8000
ES_VUE_EXPOSE=127.0.0.1:8080
# Redis configuration
REDIS_HOST=redis
REDIS_PORT=6379
# Expose elasticsearch for dev
ES_EXPOSE=127.0.0.1:9200
# eventually add basic auth for nginx
# set to a user:apr1 password (as found in htaccess) if you want to us auth
# you can generate one with docker run --rm httpd:latest htpasswd -nb USER PASSWORD
# warning: if you change it, you need to remove / recreate the elasticvue container
NGINX_BASIC_AUTH_USER_PASSWD=
# by default on dev desktop, no restart
# set to always for production
RESTART_POLICY=no
# Increase or decrease based on the available host memory (in bytes)
# 1GB works well, 2GB and above leads to lower latency
MEM_LIMIT=4294967296
# This is the name of a network possibly shared with other containers
# on dev connect to the same network as off-server
COMMON_NET_NAME=po_default
# Sentry DNS for bug tracking, used only in staging and production
SENTRY_DNS=
# Log level to use, DEBUG by default in dev
LOG_LEVEL=DEBUG
# Path to the yaml configuration file
# This envvar is **required**
CONFIG_PATH=
ALLOWED_ORIGINS='http://localhost,http://127.0.0.1,https://*.openfoodfacts.org,https://*.openfoodfacts.net'