-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (77 loc) · 1.59 KB
/
docker-compose.yml
File metadata and controls
77 lines (77 loc) · 1.59 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# This compose file defines the external services needed to run the application.
# You can use this during development and run the application with the usual
# `dotnet run` CLI or via Visual Studio.
#
# ```
# docker-compose up -d
# ```
#
# Alternatively, you can build and run the application as well by adding the
# "app" profile:
#
# ```
# docker-compose --profile app up -d
# ```
version: "3.4"
services:
gateway:
build: gateway/
depends_on:
rasa:
condition: service_started
util:
condition: service_started
networks:
- ai_network
image: ai-gateway:dev
ports:
- 5000:5000
environment:
- RASA_HOST=rasa
- RASA_PORT=5005
- AI_HOST=util
- AI_PORT=5006
- SERVE_HTTPS=False
labels:
com.intentless.app: ai-gateway
com.intentless.type: api
util:
build: util/
image: ai-util:dev
networks:
- ai_network
ports:
- 5006:5006
labels:
com.intentless.app: ai-util
com.intentless.type: api
rasa:
build: rasa/
image: ai-rasa:dev
networks:
- ai_network
ports:
- 5005:5005
labels:
com.intentless.app: ai-rasa
com.intentless.type: api
actions:
build:
context: rasa/
dockerfile: Dockerfile_actions
image: ai-actions:dev
depends_on:
util:
condition: service_started
networks:
- ai_network
ports:
- 5055:5055
environment:
- AI_UTIL_HOST=util
- AI_UTIL_PORT=5006
labels:
com.intentless.app: ai-actions
com.intentless.type: api
networks:
ai_network: