-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (60 loc) · 1.55 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '2'
services:
www:
network_mode: 'bridge'
build: nginx
volumes:
- ./nginx/develop.client:/etc/nginx/conf.d/default.client
links:
- server
- client
ports:
- "8080"
environment:
- VIRTUAL_HOST=hytte.app.dnt.local
- VIRTUAL_PORT=8080
redis:
network_mode: 'bridge'
image: redis:3.0
server:
network_mode: 'bridge'
build: server
user: app
links:
- redis
ports:
- "8080"
volumes:
- ./server/controllers:/usr/src/app/controllers
- ./server/lib:/usr/src/app/lib
- ./server/db:/usr/src/app/db
- ./server/index.js:/usr/src/app/index.js
- ./server/package.json:/usr/src/app/package.json
- ./server/test:/usr/src/app/test
working_dir: /usr/src/app
env_file: .env
environment:
- APP_URL=http://hytte.app.dnt.local
- APP_PORT=8080
- NTB_API_ENV=dev
- NODE_ENV=development
command: npm start
client:
network_mode: 'bridge'
build: client
volumes:
- ./client/app:/usr/src/app/app
- ./client/config:/usr/src/app/config
- ./client/ember-cli-build.js:/usr/src/app/ember-cli-build.js
- ./client/public:/usr/src/app/public
- ./client/testem.json:/usr/src/app/testem.json
- ./client/tests:/usr/src/app/tests
- ./client/vendor:/usr/src/app/vendor
ports:
- "4200"
- "35729:35729"
- "49152:49152"
environment:
- NODE_ENV=development
- SENTRY_DSN=https://[email protected]/83453
command: npm start