-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 840 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (33 loc) · 840 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
frontend:
container_name: emberloop_frontend
build: ember.docker
volumes:
- ./front-end:/usr/local/src/front-end
working_dir: /usr/local/src/front-end
command: bash -c "npm install -q && bower install -q --allow-root && ember server --watch"
ports:
- 4200:4200
- 35729:35729
- 49152:49152
backend:
container_name: emberloop_backend
build: loopback.docker
volumes:
- ./back-end:/usr/local/src/back-end
working_dir: /usr/local/src/back-end
command: bash -c "npm install -q && node ."
ports:
- 3000:3000
mysql:
image: mysql:5.6.27
environment:
- "MYSQL_ROOT_PASSWORD=notsecure"
- "MYSQL_USER=emberloop"
- "MYSQL_PASSWORD=emberloop"
- "MYSQL_DATABASE=emberloop"
volumes:
- ./data-base:/usr/local/src/data-base
ports:
- 3306:3306
links:
- backend:back-end