-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.yml
76 lines (66 loc) · 1.14 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '3.9'
include:
- .docker/mongo.yaml
- .docker/redis.yaml
- .docker/mailpit.yaml
x-defaults: &app-image
build: ./.docker
image: pastvu_node
environment:
- NODE_ENV=development
extra_hosts:
- "host.docker.internal:host-gateway"
services:
app:
<< : *app-image
ports:
- "3000:3000"
volumes:
- .:/code
- store:/store
command: run app --primary
depends_on:
- "mongo"
- "redis"
worker:
<< : *app-image
volumes:
- .:/code
- store:/store
command: run worker
depends_on:
- "app"
notifier:
<< : *app-image
volumes:
- .:/code
command: run notifier
depends_on:
- "app"
uploader:
<< : *app-image
volumes:
- .:/code
- store:/store
command: run uploader
depends_on:
- "app"
downloader:
<< : *app-image
volumes:
- .:/code
- store:/store:ro
command: run downloader
depends_on:
- "app"
sitemap:
<< : *app-image
volumes:
- .:/code
- sitemap:/sitemap
command: run sitemap
depends_on:
- "app"
volumes:
store:
sitemap: