-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
75 lines (75 loc) · 1.65 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
version: '2'
services:
postgres:
image: postgres
environment:
- POSTGRES_PASSWORD
mongo:
image: mongo
railsvm:
build: .
command: bundle exec rails s -p 3000 -b '0.0.0.0'
volumes:
- .:/myapp
ports:
- "3000:3000"
depends_on:
- postgres
- mongo
environment:
- POSTGRES_USER=postgres
- POSTGRES_HOST=postgres
- POSTGRES_PASSWORD
- MONGO_HOST=mongo:27017
rake:
build: .
command: docker/docker-rake-commands.sh
volumes:
- .:/myapp
depends_on:
- postgres
- mongo
links:
- selenium
ports:
- "3010:3010"
environment:
- POSTGRES_USER=postgres
- POSTGRES_HOST=postgres
- POSTGRES_PASSWORD
- MONGO_HOST=mongo:27017
- VNC_PASSWORD=password
- APP_PORT=3010
- SELENIUM_REMOTE_HOST=selenium
- COVERAGE
- GMAPS_GEOCODE_KEY
- GMAPS_JSMAPS_KEY
test:
build: .
command: docker/docker-test-commands.sh
volumes:
- .:/myapp
depends_on:
- postgres
- mongo
links:
- selenium
ports:
- "3010:3010"
- "5900:5900"
environment:
- POSTGRES_USER=postgres
- POSTGRES_HOST=postgres
- POSTGRES_PASSWORD
- MONGO_HOST=mongo:27017
- VNC_PASSWORD=password
- APP_PORT=3010
- SELENIUM_REMOTE_HOST=selenium
- GMAPS_GEOCODE_KEY
- GMAPS_JSMAPS_KEY
selenium:
# image: selenium/standalone-firefox-debug:2.47.1
image: selenium/standalone-chrome-debug:2.47.1
ports:
- "4444:4444"
- "5901:5900"