-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (38 loc) · 1.28 KB
/
docker-compose.yml
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
version: '3'
services:
aissueflow:
image: aissueflow:v1
environment:
- SNOWFLAKE_ACCOUNT=${SNOWFLAKE_ACCOUNT}
- SNOWFLAKE_USER=${SNOWFLAKE_USER}
- SNOWFLAKE_PASSWORD=${SNOWFLAKE_PASSWORD}
- SNOWFLAKE_DATABASE=${SNOWFLAKE_DATABASE}
- SNOWFLAKE_SCHEMA=${SNOWFLAKE_SCHEMA}
- SNOWFLAKE_WAREHOUSE=${SNOWFLAKE_WAREHOUSE}
- SNOWFLAKE_TABLE=${SNOWFLAKE_TABLE}
- access_token=${access_token}
- SECRET_KEY=${SECRET_KEY}
- ALGORITHM=${ALGORITHM}
- ACCESS_TOKEN_EXPIRE_MINUTES=${ACCESS_TOKEN_EXPIRE_MINUTES}
- PREFIX=${PREFIX}
- OPENAI_API_KEY=${OPENAI_API_KEY}
ports:
- "8080:8080"
fastapi:
image: fastapi:v1
environment:
- SNOWFLAKE_ACCOUNT=${SNOWFLAKE_ACCOUNT}
- SNOWFLAKE_USER=${SNOWFLAKE_USER}
- SNOWFLAKE_PASSWORD=${SNOWFLAKE_PASSWORD}
- SNOWFLAKE_DATABASE=${SNOWFLAKE_DATABASE}
- SNOWFLAKE_SCHEMA=${SNOWFLAKE_SCHEMA}
- SNOWFLAKE_WAREHOUSE=${SNOWFLAKE_WAREHOUSE}
- SNOWFLAKE_TABLE=${SNOWFLAKE_TABLE}
- access_token=${access_token}
- SECRET_KEY=${SECRET_KEY}
- ALGORITHM=${ALGORITHM}
- ACCESS_TOKEN_EXPIRE_MINUTES=${ACCESS_TOKEN_EXPIRE_MINUTES}
- PREFIX=${PREFIX}
- OPENAI_API_KEY=${OPENAI_API_KEY}
ports:
- "8000:8000"