-
Notifications
You must be signed in to change notification settings - Fork 187
/
docker-compose.yml
63 lines (63 loc) · 1.18 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
version: "3"
volumes:
database:
search_conf:
services:
pgsql:
container_name: pgsql
image: postgres
environment:
POSTGRES_USER: bountysource
POSTGRES_PASSWORD: password
volumes:
- ./pgdata:/var/lib/postgresql/data
ports:
- "5432:5432"
sphinx:
container_name: sphinx
image: leodido/sphinxsearch:2.2.9
hostname: sphinx
command: searchd.sh
links:
- pgsql
volumes:
- .:/app
- search_conf:/usr/local/etc/
ports:
- "9306:9306"
- "9312:9312"
bountysource:
container_name: bountysource
image: bountysource
env_file: .env
links:
- pgsql
- sphinx
- elasticsearch
build: .
stdin_open: true
tty: true
ports:
- "3000:3000"
command: rails s Puma
volumes:
- .:/app
delayedjob:
container_name: delayedjob
image: bountysource
env_file: .env
links:
- bountysource
- pgsql
- sphinx
build: .
command: bundle exec rake jobs:work
volumes:
- .:/app
elasticsearch:
image: elasticsearch:6.8.8
environment:
- discovery.type=single-node
ports:
- "9200:9200"
- "9300:9300"