docker-compose.yml
1.53 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
version: '3'
services:
app-server:
build: ./wildfly
container_name: chatbot-wildfly
image: bht-chatbot:latest
ports:
- "8080:8080"
- "8787:8787"
- "9990:9990"
environment:
POSTGRES_USER: beuthbot_app
POSTGRES_PASSWORD: VhS7WPVpdYEHYLpf
POSTGRES_DB: beuthbot
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/
- ./wildfly/volumes/modules/org/postgres/main/:/opt/jboss/wildfly/modules/org/postgres/main/
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:
image: postgres
ports:
- "5432:5432"
command: postgres -c logging_collector=on -c log_destination=stderr -c log_directory=/logs
environment:
POSTGRES_USER: beuthbot_app
POSTGRES_PASSWORD: VhS7WPVpdYEHYLpf
POSTGRES_DB: beuthbot
volumes:
- ./postgres/volumes/logs:/logs
adminer:
container_name: adminer_dbmanagement
image: adminer
ports:
- "8081:8080"