-
Notifications
You must be signed in to change notification settings - Fork 191
Expand file tree
/
Copy pathtasks.yml
More file actions
34 lines (34 loc) · 807 Bytes
/
tasks.yml
File metadata and controls
34 lines (34 loc) · 807 Bytes
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
version: '3'
volumes:
database:
search_conf:
services:
setup:
image: bountysource
env_file: .env
command: bash -c "rake db:setup ts:configure && ln -Ts /app/config/development.sphinx.conf /sphinx/sphinx.conf"
links:
- pgsql
volumes:
- .:/app
- search_conf:/sphinx
reindex_sphinx:
image: bountysource
env_file: .env
command: bash -c "rake ts:generate ts:index"
links:
- pgsql
- sphinx
volumes:
- .:/app
test:
image: bountysource
env_file: .env.test
environment:
- DATABASE_URL=postgres://postgres@pgsql/bountysource_test
command: bash -c "rake db:drop db:create spec:prepare jshint && rspec --exclude-pattern spec/vcr/**/*_spec.rb"
links:
- pgsql
- sphinx
volumes:
- .:/app