generated from sysgears/apollo-universal-starter-kit
-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 611 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (31 loc) · 611 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
version: '3'
services:
node:
build:
context: .
args:
APP_DIR: ${APP_DIR}
environment:
- NODE_ENV=development
container_name: nodejs-starter-kit
tty: true
stdin_open: true
volumes:
- ./:${APP_DIR}:cached
- ${APP_DIR}/build
- ${APP_DIR}/node_modules
working_dir: ${APP_DIR}
# user: node
command: >
sh -c '
yarn &&
(test -f dev-db.sqlite3 || yarn seed) &&
exec yarn watch
'
ports:
- 3000:3000
- 3010:3010
- 3020:3020
- 8080:8080
- 19000:19000
- 19001:19001