This repository was archived by the owner on Aug 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
93 lines (88 loc) · 2.21 KB
/
docker-compose.yml
File metadata and controls
93 lines (88 loc) · 2.21 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '3.0'
services:
frontend:
image: rasa-frontend:local
networks:
- traefik-rasa
deploy:
restart_policy:
condition: any
mode: replicated
replicas: 1
labels:
- 'traefik.enable=true'
- 'traefik.frontend.rule=PathPrefix:/'
- 'traefik.port=8888'
- 'traefik.tags=traefik-rasa'
rasa:
image: rasa:local
networks:
- traefik-rasa
- backend
command:
- run
- --enable-api
- --credentials
- credentials.yml
- --endpoints
- endpoints.yml
- --jwt-secret
- 01fe0e05aff4babb80e7f176290902a2be7d1f37
- --cors
- '*'
deploy:
restart_policy:
condition: any
mode: replicated
replicas: 1
labels:
- 'traefik.enable=true'
- 'traefik.frontend.rule=PathPrefix:/rasa-api;PathPrefixStrip:/rasa-api'
- 'traefik.port=5005'
- 'traefik.priority=20'
- 'traefik.backend.loadbalancer.stickiness=true'
- 'traefik.tags=traefik-rasa'
- 'traefik.docker.network=rasa-wc-example_traefik-rasa'
action-server:
image: rasa-action-server:local
networks:
- backend
deploy:
restart_policy:
condition: any
mode: replicated
replicas: 1
labels:
- 'traefik.enable=false'
redis:
image: redis:5
networks:
- backend
deploy:
restart_policy:
condition: any
mode: replicated
replicas: 1
labels:
- 'traefik.enable=false'
traefik:
image: traefik:1.7
ports:
- '8042:8042'
- '8043:8080'
networks:
- traefik-rasa
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --web --api --entryPoints="Name:http Address::8042" --defaultentrypoints=http --docker --docker.network=traefik-rasa --docker.domain="localhost" --docker.endpoint="unix:///var/run/docker.sock" --docker.watch=true --docker.exposedbydefault="false" --docker.swarmMode --docker.constraints="tag==traefik-rasa"
deploy:
restart_policy:
condition: any
mode: replicated
replicas: 1
placement:
constraints:
- node.role == manager
networks:
backend:
traefik-rasa: