-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env.openfoodfacts
56 lines (41 loc) · 1.58 KB
/
.env.openfoodfacts
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
# set project name to have a short one
COMPOSE_PROJECT_NAME=po_search
# unify separator with windows style
COMPOSE_PATH_SEPARATOR=;
# dev is default target
COMPOSE_FILE=docker-compose.yml;docker/dev.yml
# Version of Elastic products
STACK_VERSION=8.3.3
# 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
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
# 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
CONFIG_PATH=data/config/openfoodfacts.yml
# URL to the OFF API
OFF_API_URL=https://world.openfoodfacts.org
ALLOWED_ORIGINS='http://localhost,http://127.0.0.1,https://*.openfoodfacts.org,https://*.openfoodfacts.net'