forked from sscholl/biblebot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.test.yml
65 lines (58 loc) · 1.52 KB
/
docker-compose.test.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
56
57
58
59
60
61
62
63
64
65
version: '3'
# this docker-compose file is build only for test purposes
services:
sut:
build: docker-compose.test
links:
- rocketchat
- biblebot
- biblebotdb
rocketchat:
image: rocket.chat
# volumes:
# - ./uploads:/app/uploads
environment:
- ADMIN_PASS=password
- PORT=8080
- ROOT_URL=http://localhost:8080
- MONGO_URL=mongodb://mongo:27017/rocketchat
depends_on:
- mongo
links:
- mongo
ports:
#TODO remove me
- 0.0.0.0:28080:8080
mongo:
image: mongo
#volumes:
# - /data/db
# - /dump
command: mongod --smallfiles --oplogSize 128
biblebot:
build: .
environment:
- SPRING_DDL=create
- SPRING_JPA_HIBERNATE_DDL-AUTO=create
- 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=8080
- BIBLEBOT_API_HOST=rocketchat
- BIBLEBOT_API_PORT=8080
- BIBLEBOT_API_USER=admin
- BIBLEBOT_API_PASSWORD=password
- BIBLEREADINGPLAN_POSTSERVICE_CRON=* * * * * *
links:
- rocketchat
depends_on:
- biblebotdb
biblebotdb:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: unusedpassword
MYSQL_DATABASE: biblebot
MYSQL_USER: biblebot
MYSQL_PASSWORD: password