-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env
47 lines (36 loc) · 1.18 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
MYSQL_USER=user
MYSQL_PASSWORD=password
MYSQL_ROOT_PASSWORD=123456
MYSQL_DATABASE=db
MYSQL_LOCAL_PORT=3306
MYSQL_DOCKER_PORT=3306
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_DATABASE=0
REDIS_PASSWORD=123456
REDIS_TIMEOUT=60000
SPRING_LOCAL_PORT=8080
SPRING_DOCKER_PORT=8080
STABLE_DIFFUSION_API_URL=https://lying-footwear-marshall-distinct.trycloudflare.com/
COMPLETIONS_API_URL=https://api.openai.com/
COMPLETIONS_API_KEY=token
RECOMMENDATIONS_API_URL=http://127.0.0.1:5000
NUM_OF_RECOMMENDATIONS=20
NUM_OF_EPOCHS=10
RECOMMENDATION_LOCAL_PORT=5000
RECOMMENDATION_DOCKER_PORT=5000
# for local testing change to localhost, for docker to host.docker.internal
# MYSQL_URL=jdbc:mysql://host.docker.internal:${MYSQL_LOCAL_PORT}/${MYSQL_DATABASE}?sessionVariables=sql_mode='NO_ENGINE_SUBSTITUTION'&jdbcCompliantTruncation=false
MYSQL_URL=jdbc:mysql://localhost:${MYSQL_LOCAL_PORT}/${MYSQL_DATABASE}
# for JWT configuration
SECRET_API_KEY=exampleKey
EXPIRATION_LENGTH=3600000
REFRESH_EXPIRATION_LENGTH=25200000
HEADER_NAME=Authorization
PREFIX_NAME=Bearer
MAIL_PORT=1025
MAIL_HOST=127.0.0.1
MAIL_USERNAME=foodzillaemail@gmail.com
MAIL_PASSWORD=vlwqgydqqzxcfcjq
RABBIT_MQ_HOST=localhost
RABBIT_MQ_PORT=5672