forked from dtzinov/ggrc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-testing.yml
47 lines (45 loc) · 1.01 KB
/
docker-compose-testing.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
version: "2"
services:
dev:
build:
context: .
dockerfile: Dockerfile
args:
CHROME_DRIVER_VERSION: "2.33"
volumes:
- ".:/vagrant"
- ".:/vagrant_bind"
ports:
- "8001:8000"
- "8081:8080"
- "9877:9876"
environment:
- PYTHONDONTWRITEBYTECODE=true
- NODE_PATH=/vagrant-dev/node_modules/
- GGRC_DATABASE_URI=mysql+mysqldb://root:root@db/ggrcdev?charset=utf8
- GGRC_DATABASE_HOST=db
links:
- db
db:
image: mysql:5.6
volumes:
- "./provision/docker/mysql:/etc/mysql/conf.d"
environment:
- MYSQL_ROOT_PASSWORD=root
tmpfs:
- /var/lib/mysql/:rw,noexec,nosuid,size=1G
selenium:
build:
context: .
dockerfile: Dockerfile-selenium
volumes:
- "./test/selenium:/selenium"
- "/dev/shm:/dev/shm"
links:
- dev
environment:
- "TZ=America/Los_Angeles"
- PYTHONDONTWRITEBYTECODE=true
- PYTHONPATH=/selenium/src
- SCREEN_WIDTH=1440
- SCREEN_HEIGHT=900