forked from sscholl/biblebot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (50 loc) · 1.33 KB
/
docker-compose.yml
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
version: '3'
# this docker-compose file is build only for test purposes
services:
rocketchat:
image: rocket.chat
environment:
- ADMIN_PASS=password
- PORT=8080
- ROOT_URL=http://localhost:8080
- MONGO_URL=mongodb://mongo:27017/rocketchat
depends_on:
- mongo
links:
- mongo
ports:
- 127.0.0.1:8080:8080
mongo:
image: mongo
volumes:
- /data/db
- /dump
command: mongod --smallfiles --oplogSize 128
biblebot:
build: .
environment:
- SPRING_DATASOURCE_USERNAME=biblebot
- SPRING_DATASOURCE_PASSWORD=password
- SPRING_DATASOURCE_URL=jdbc:mysql://biblebotdb:3306/biblebot?autoReconnect=true&characterEncoding=utf8&useSSL=false
- BIBLEBOT_INTEGRATION_ACTIVE=true
- BIBLEBOT_INTEGRATION_HOST=biblebot
- BIBLEBOT_INTEGRATION_PORT=8081
- BIBLEBOT_API_HOST=rocketchat
- BIBLEBOT_API_PORT=8080
- BIBLEBOT_API_USER=admin
- BIBLEBOT_API_PASSWORD=password
- BIBLEREADINGPLAN_POSTSERVICE_CRON=0 0 * * * *
links:
- rocketchat
- biblebotdb
ports:
- 127.0.0.1:8081:8081
biblebotdb:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: unusedpassword
MYSQL_DATABASE: biblebot
MYSQL_USER: biblebot
MYSQL_PASSWORD: password
ports:
- 127.0.0.1:3306:3306