-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
47 lines (47 loc) · 925 Bytes
/
docker-compose.yaml
File metadata and controls
47 lines (47 loc) · 925 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.2'
services:
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: suyc
MYSQL_USER: suyc
MYSQL_PASSWORD: suyc
MYSQL_DATABASE: suyc
ports:
- "3306:3306"
migrator:
build: ../speedupamerica-migrator
env_file:
- local.env
command: ["rake", "db:migrate"]
links:
- mysql
depends_on:
- mysql
volumes:
- ../speedupamerica-migrator:/migrator
frontend:
build: .
env_file:
- local.env
ports:
- "3000:3000"
volumes:
- ./app:/suyc/app
- ./config:/suyc/config
- ./data:/suyc/data
- ./lib:/suyc/lib
- ./log:/suyc/log
- ./public:/suyc/public
notebooks:
build:
context: ./notebooks
depends_on:
- mysql
ports:
- 8888:8888
env_file:
- local.env
volumes:
- ./data:/home/jovyan/data/
- ./notebooks:/home/jovyan/