-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.dist
executable file
·49 lines (35 loc) · 1.31 KB
/
.env.dist
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
DEV=True
elasticsearch_host='image_search_elastic:9200'
elasticsearch_verify_certs='False'
elasticsearch_index='images'
elasticsearch_shards=5
elasticsearch_replicas=0
milvus_host='image_search_milvus'
milvus_port='19530'
milvus_pool_size=10
milvus_collection_name='images'
phash_size=16
phash_size_result=64
images_path='/home/kkosinski/sis/static/images'
short_path='static/images'
DOCKER_WEB_HOSTNAME=localhost
DOCKER_WEB_PORT=80
DOCKER_WEB_SSL_PORT=443
DOCKER_ELASTICSEARCH_VERSION=7.2.0
NODEJS_PORT=3000
REACT_APP_API_URL='http://127.0.0.1/'
REACT_APP_IMAGES_URL='https://tanukai.com/'
# MySQL on dev env is not required. Create separate .env file for dev and prod in the future
MYSQL_HOST=image_search_mysql
MYSQL_PORT=3306
MYSQL_DATABASE=tanukaidb
MYSQL_USER=tanukai
MYSQL_PASSWORD=tanukaipassword
MYSQL_ROOT_PASSWORD=helloworldpass
REDIS_HOST=image_search_redis
REDIS_PORT=6379
TENSORFLOW_SERVING_MODEL_ADDRESS=http://image_search_tensorflow_serving:8501/v1/models/tanukai_model
INITIALIZE_DBS_IF_NOT_EXIST=1 # Before inserting an image, this will check if necessary partitions for a website (e.g. e621) exist in storage (Milvus, ES), and if not, it will create them. Set to 0 in production for performance boost, or to 1 if you are creating a new website/scraper
# Scrapers
FURAFFINITY_COOKIE_A=
FURAFFINITY_COOKIE_B=