-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve base .env file to make it OFF independent
- Loading branch information
1 parent
fb0500f
commit e9021a3
Showing
8 changed files
with
80 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters