-
-
Notifications
You must be signed in to change notification settings - Fork 396
/
.env
85 lines (74 loc) · 2.62 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# docker config
DOCKER_CLIENT_TIMEOUT=320
COMPOSE_HTTP_TIMEOUT=320
COMPOSE_PROJECT_NAME=po_off
COMPOSE_PATH_SEPARATOR=;
COMPOSE_FILE=docker-compose.yml;docker/dev.yml;docker/run.yml
COMPOSE_PROFILES=off
# when we don't need the dependencies
COMPOSE_FILE_BUILD=docker-compose.yml;docker/dev.yml
# exposition of product opener, leave blank to expose on all ports
# ends with ":"
PRODUCT_OPENER_EXPOSE=127.0.0.1:
# same but for all admin tools
ADMIN_EXPOSE=127.0.0.1:
# version for backend and frontend images
TAG=latest
# setting to align host user to internal user
# USER_UID=1000
# USER_GID=1000
# static lang dependent files for the website
# we have a minimal set of files in server repo, in prod we use main repo
WEB_RESOURCES_PATH=./web-default
# env vars
PRODUCERS_PLATFORM=0
PRODUCT_OPENER_DOMAIN=openfoodfacts.localhost
PRODUCT_OPENER_PORT=80
PRODUCT_OPENER_FLAVOR=openfoodfacts
PRODUCT_OPENER_FLAVOR_SHORT=off
# do you want extended dev packages ?
# (removed on standard builds to speed installation up and gain in stability)
# CPANMOPTS=--with-develop --with-feature=off_server_dev_tools
# if 1 we log emails instead of sending them
# useful in dev mode
OFF_LOG_EMAILS=1
POSTGRES_USER=productopener
POSTGRES_PASSWORD=productopener
MINION_MODE=dev
MINION_QUEUE=openfoodfacts.localhost
MONGODB_HOST=mongodb
MONGODB_CACHE_SIZE=8 # GB
MONGO_INITDB_ROOT_USERNAME=root
MONGO_INITDB_ROOT_PASSWORD=test
ROBOTOFF_URL=http://robotoff.openfoodfacts.localhost:5500 # connect to Robotoff running in separate docker-compose deployment
# connect to openfoodfacts-query running in separate docker-compose deployment.
# To test locally change to http://host.docker.internal:5510
QUERY_URL=http://query:5510
EVENTS_URL=
FACETS_KP_URL = https://facets-kp.openfoodfacts.org/render-to-html
# we push updated products to Redis stream so that every service is notified
# when a product is updated/deleted/created
# use `redis:6379` locally if you want to enable Redis
REDIS_URL=
GOOGLE_CLOUD_VISION_API_KEY=
CROWDIN_PROJECT_IDENTIFIER=
CROWDIN_PROJECT_KEY=
GEOLITE2_PATH=
GEOLITE2_LICENSE_KEY=
GEOLITE2_ACCOUNT_ID=
ELASTICSEARCH_HOSTS=
LOG_LEVEL_ROOT=TRACE
LOG_LEVEL_MONGODB=TRACE
LOG_LEVEL_RATE_LIMITER=TRACE
ODOO_CRM_URL=
ODOO_CRM_DB=
ODOO_CRM_USER=
ODOO_CRM_PASSWORD=
# No need to have it running, it's just to compose a URL
# you might also use the .net service
NUTRIPATROL_URL=http://nutripatrol.localhost
BUILD_CACHE_REPO=openfoodfacts/openfoodfacts-build-cache
# If you want the rate limiter to block requests (return 429) instead of doing nothing,
# set this to 1. Any other value will disable the blocking.
RATE_LIMITER_BLOCKING_ENABLED=1
COMMON_NET_NAME=off_shared_network