-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.sample.yml
67 lines (60 loc) · 1.34 KB
/
docker-compose.sample.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
66
67
version: '3.6'
services:
db:
container_name: modbot-db
image: postgres:13.2-alpine
environment:
POSTGRES_PASSWORD: samplepassword
ports:
- "5432:5432"
restart: unless-stopped
all_feeds:
container_name: modbot-all-feeds
image: modbot:latest
depends_on:
- db
env_file:
template.env
command: python3 -m feeds.consolidated --posts --comments --mod_log
restart: unless-stopped
new_posts:
container_name: modbot-new-posts
image: modbot:latest
depends_on:
- db
env_file:
template.env
command: python3 -m feeds.new_posts
restart: unless-stopped
new_comments:
container_name: modbot-new-comments
image: modbot:latest
depends_on:
- db
env_file:
template.env
command: python3 -m feeds.new_comments
restart: unless-stopped
mod_log:
container_name: modbot-mod-log
image: modbot:latest
depends_on:
- db
env_file:
template.env
command: python3 -m feeds.mod_log
restart: unless-stopped
sub_mentions:
container_name: modbot-sub-mentions
image: modbot:latest
env_file:
template.env
command: python3 -m feeds.sub_mentions
restart: unless-stopped
tools:
container_name: modbot-tools
image: modbot:tools
depends_on:
- db
env_file:
template.env