forked from sharetribe/sharetribe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fig.yml
68 lines (63 loc) · 1.26 KB
/
fig.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
db:
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_USER: sharetribe
MYSQL_PASSWORD: secret
MYSQL_DATABASE: sharetribe_development
MYSQL_ROOT_PASSWORD: secret
dbtest:
image: mysql
ports:
- "3307:3306"
environment:
MYSQL_USER: sharetribe
MYSQL_PASSWORD: secret
MYSQL_DATABASE: sharetribe_test
MYSQL_ROOT_PASSWORD: secret
worker:
build: .
command: '/bin/bash -l -c "bundle exec rake jobs:work"'
links:
- db:mysql
volumes:
- .:/opt/sharetribe
search:
build: .
command: '/bin/bash -l -c "bundle exec rake ts:configure ts:index; searchd --nodetach --pidfile --config config/development.sphinx.conf"'
links:
- db:mysql
volumes:
- .:/opt/sharetribe
ports:
- "3563:3563"
environment:
SPHINX_HOST: ""
web:
build: .
command: '/bin/bash -l -c "bundle exec rails server"'
volumes:
- .:/opt/sharetribe
ports:
- "3000:3000"
links:
- db:mysql
- dbtest:mysqltest
- search:search
- worker:worker
environment:
SPHINX_HOST: search
zeus:
build: .
command: '/bin/bash -l -c "zeus start"'
volumes:
- .:/opt/sharetribe
ports:
- "3000:3000"
links:
- db:mysql
- dbtest:mysqltest
- search:search
environment:
SPHINX_HOST: search