docker-compose.yml
1.2 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
version: '3'
services:
app-server:
build: ./wildfly
container_name: chatbot-wildfly
image: bht-chatbot:latest
ports:
- "8080:8080"
- "8787:8787"
- "9990:9990"
volumes:
- ./wildfly/volumes/deployments/:/opt/jboss/wildfly/standalone/deployments/
- ./wildfly/volumes/logs/:/opt/jboss/wildfly/standalone/log/
- ./wildfly/volumes/conf/:/opt/jboss/wildfly/standalone/conf/
links:
- rasa-server
- postgres-db
command: /opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0 --debug
rasa-server:
build: ./rasa_nlu
container_name: rasa_nlu
image: rasa_nlu:latest
ports:
- "5000:5000"
volumes:
- ./rasa_nlu/volumes/data/api/:/app/data/api
- ./rasa_nlu/volumes/logs/:/app/logs/
command: python -m rasa_nlu.server -c config/chatbot_config.json --server_model_dirs=default
postgres-db:
container_name: chatbot-postgres
image: postgres
ports:
- "5432:5432"
environment:
POSTGRES_USER: beuthbot_app
POSTGRES_PASSWORD: VhS7WPVpdYEHYLpf
POSTGRES_DB: beuthbot
adminer:
container_name: adminer_dbmanagement
image: adminer
ports:
- "8081:8080"