-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (46 loc) · 1.09 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
version: '2'
services:
ionic:
container_name: ionic-cuac-container
image: devscola/culturaaccesible-ionic:latest
ports:
- "8100:8100"
- "35729:35729"
volumes:
- .:/opt/app
- ./culturaaccesible-app:/opt/app/culturaaccesible-app
- bundle:/usr/local/bundle
links:
- system
- selenium
- mongo
command: bash -c "sh use_project.sh"
system:
container_name: sinatra-cuac-container
build:
context: culturaaccesible-system
dockerfile: Dockerfile
ports:
- "4567:4567"
volumes:
- ./culturaaccesible-system:/opt/app/culturaaccesible-system
- bundle:/usr/local/bundle
links:
- selenium
- mongo
command: bash -c "cd /opt/app/culturaaccesible-system; sh prepare_environment_tests.sh"
selenium:
container_name: chrome-cuac-container
image: selenium/standalone-chrome
ports:
- "4444:4444"
logging:
driver: none
mongo:
container_name: mongo-cuac-container
image: mongo:latest
ports:
- "27017:27017"
volumes:
bundle:
driver: local