-
Notifications
You must be signed in to change notification settings - Fork 9
/
.env
47 lines (36 loc) · 1.39 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
# these values configure the build of the docker images
BUILD_TAG=latest
DOCKER_REPO=cwolff
DEVTOOLS=false
# the port on which the api will be available
APP_PORT=8080
# paths to the directories where data will be persisted on disk
DATA_DIR=./persisted_data/prod/images
DB_DIR=./persisted_data/prod/database
# queue configuration
IMAGE_PROCESSOR_QUEUE=faceanalysis
RABBITMQ_USER=faceanalysistasks
RABBITMQ_PASSWORD=some-queue-password
# configuration values for mysql
MYSQL_USER=faceanalysisrw
MYSQL_PASSWORD=some-secure-string
MYSQL_ROOT_PASSWORD=some-very-secure-string
MYSQL_DATABASE=faceanalysis
# allowed values are DEBUG, INFO, WARNING, ERROR and CRITICAL
LOGGING_LEVEL=DEBUG
# separate multiple MIME types with semicolons
ALLOWED_IMAGE_MIMETYPES=image/jpeg;image/png
# api access token configuration
TOKEN_SECRET_KEY=some-long-random-string
DEFAULT_TOKEN_EXPIRATION_SECS=500
# maximum distance between two face vectors for them to be considered the same person
DISTANCE_SCORE_THRESHOLD=0.6
# docker image name of the algorithm to use for face vectorization
FACE_VECTORIZE_ALGORITHM=cwolff/faceanalysis_facerecognition
# face-api configuration, only used if FACE_VECTORIZE_ALGORITHM is set to "FaceApi"
FACE_API_GROUP_ID=
FACE_API_ACCESS_KEY=
FACE_API_REGION=
FACE_API_ENDPOINT=
# connection string for your docker daemon, on windows this should be tcp://0.0.0.0:2375
DOCKER_DAEMON=unix://var/run/docker.sock