-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
79 lines (79 loc) · 1.73 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
77
78
79
---
version: "3"
services:
postgres:
image: postgres
redis:
image: redis
hound:
build: hound
depends_on:
- postgres
- redis
ports:
- "3000:3000"
env_file:
- hound.env
- hound.private.env
environment:
ENABLE_HTTPS: "no"
NODE_ENV: "production"
RAILS_ENV: "production"
DATABASE_URL: "postgresql://postgres@postgres/hound"
REDIS_URL: "redis://redis:6379/0"
resque:
build: hound
depends_on:
- postgres
- redis
env_file:
- hound.env
- hound.private.env
environment:
ENABLE_HTTPS: "no"
NODE_ENV: "production"
RAILS_ENV: "production"
DATABASE_URL: "postgresql://postgres@postgres/hound"
REDIS_URL: "redis://redis:6379/0"
TERM_CHILD: "1"
RESQUE_TERM_TIMEOUT: "8"
QUEUE: high,medium,low
entrypoint: ""
command: bundle exec rake resque:work
scheduler:
build: hound
depends_on:
- postgres
- redis
env_file:
- hound.env
- hound.private.env
environment:
NODE_ENV: "production"
RAILS_ENV: "production"
DATABASE_URL: "postgresql://postgres@postgres/hound"
REDIS_URL: "redis://redis:6379/0"
TERM_CHILD: "1"
RESQUE_TERM_TIMEOUT: "8"
QUEUE: high,medium,low
entrypoint: ""
command: bundle exec rake resque:scheduler
linters:
build: hound-linters
depends_on:
- redis
environment:
RACK_ENV: "production"
REDIS_URL: "redis://redis:6379/0"
python:
build: hound-python
depends_on:
- redis
environment:
REDIS_URL: "redis://redis:6379/0"
remark:
build: hound-remark
depends_on:
- redis
environment:
REDIS_URL: "redis://redis:6379/0"