forked from JoshuaC215/agent-service-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
42 lines (41 loc) · 976 Bytes
/
compose.yaml
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
services:
agent_service:
build:
context: .
dockerfile: docker/Dockerfile.service
ports:
- "80:80"
env_file:
- .env
develop:
watch:
- path: src/agents/
action: sync+restart
target: /app/agents/
- path: src/schema/
action: sync+restart
target: /app/schema/
- path: src/service/
action: sync+restart
target: /app/service/
streamlit_app:
build:
context: .
dockerfile: docker/Dockerfile.app
ports:
- "8501:8501"
depends_on:
- agent_service
environment:
- AGENT_URL=http://agent_service
develop:
watch:
- path: src/client/
action: sync+restart
target: /app/client/
- path: src/schema/
action: sync+restart
target: /app/schema/
- path: src/streamlit_app.py
action: sync+restart
target: /app/streamlit_app.py