forked from IDEANTIFY/ideantify-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (30 loc) · 835 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (30 loc) · 835 Bytes
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
version: "3.8"
services:
ideantify-server:
image: ideantify/ideantify-server:1.0.9
container_name: ideantify-server
ports:
- "8080:8080"
environment:
- SPRING_PROFILES_ACTIVE=prod
- AI_API_URL=${AI_API_URL}
- AWS_REGION=${AWS_REGION}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
depends_on:
- ai-server
networks:
- ideantify-net
ai-server:
build: ./identify-ai # FastAPI 코드가 있는 디렉토리
container_name: ai-server
ports:
- "8000:8000"
volumes:
- ./identify-ai/dataset:/app/dataset # 유저 정보 저장 디렉토리
command: uvicorn app_chatbot.main:app --host 0.0.0.0 --port 8000
networks:
- ideantify-net
networks:
ideantify-net:
driver: bridge