forked from dtzinov/ggrc-core
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 771 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (30 loc) · 771 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
# Copyright (C) 2019 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
version: "2"
services:
cleandev:
build:
context: .
dockerfile: Dockerfile
ports:
- "127.0.0.1:8000:8000"
- "127.0.0.1:8080:8080"
- "127.0.0.1:9876:9876"
- "127.0.0.1:9222:9222"
volumes:
- ".:/vagrant"
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.36
ports:
- "127.0.0.1:3306:3306"
volumes:
- "./provision/docker/mysql:/etc/mysql/conf.d"
environment:
- MYSQL_ROOT_PASSWORD=root