forked from synzen/MonitoRSS-Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (52 loc) · 1.28 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
version: "3.5"
services:
mrss-redis:
container_name: mrss-redis-container
restart: on-failure:5
image: redis:alpine
# Comment below to show redis logs
# logging:
# driver: none
mrss-mongo:
container_name: mrss-mongodb-container
restart: on-failure:5
command: mongod --port 27017
# Comment below to show mongo logs
# logging:
# driver: none
image: mongo:latest
volumes:
- 'db-data:/data/db'
mrss-bot:
container_name: mrss-bot-container
restart: on-failure:3
# The image can also be used
# image: synzen/monitorss
build: .
depends_on:
- mrss-mongo
environment:
- DRSS_START=bot
- DRSS_BOT_TOKEN=
- DRSS_DATABASE_URI=mongodb://mrss-mongo:27017/rss
mrss-web:
container_name: mrss-web-container
# The image can also be used
# image: synzen/monitorss
build: .
restart: on-failure:3
depends_on:
- mrss-redis
- mrss-mongo
ports:
- "8081:8081"
environment:
- DRSS_START=web
- DRSSWEB_BOT_TOKEN=
- DRSSWEB_DATABASE_REDIS=redis://mrss-redis:6379
- DRSSWEB_DATABASE_URI=mongodb://mrss-mongo:27017/rss
- DRSSWEB_BOT_REDIRECTURI=
- DRSSWEB_BOT_CLIENTID=
- DRSSWEB_BOT_CLIENTSECRET=
volumes:
db-data: