-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
47 lines (43 loc) · 941 Bytes
/
docker-compose.test.yml
File metadata and controls
47 lines (43 loc) · 941 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
35
36
37
38
39
40
41
42
43
44
45
46
47
---
version: '3'
services:
postgresql:
image: postgres:9.4
environment:
- POSTGRES_USER=shuttle
- POSTGRES_PASSWORD=
- POSTGRES_DB=shuttle_test
redis:
image: redis
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.1
ports:
- 9200:9200
environment:
- xpack.security.enabled=false
tests:
build:
context: .
args:
- BUNDLE_GEMS__CONTRIBSYS__COM
links: &links
- postgresql
- redis
- elasticsearch
environment: &environment
- RAILS_ENV=test
- RACK_ENV=test
- SHUTTLE_DB_HOST=postgresql
- SHUTTLE_REDIS_HOST=redis
- SHUTTLE_ES_URL=elasticsearch:9200
# worker:
# build: .
# command: bundle exec sidekiq -C config/sidekiq.yml
# links: *links
# environment: *environment
#
# mailcatcher:
# image: schickling/mailcatcher
# ports:
# - '1025:1025'
# - '1080:1080'