Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit e625c0a

Browse files
author
Hans Kristian Flaatten
committed
chore(docker): use new Docker Compose file format
1 parent 5213fd8 commit e625c0a

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

docker-compose.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
mongo:
1+
version: '2'
2+
3+
services:
4+
mongo:
25
image: mongo:latest
36

4-
dev:
5-
image: node:argon
6-
links:
7-
- mongo
8-
working_dir: /usr/src/app
9-
volumes:
10-
- ".:/usr/src/app"
11-
command: "npm run watch"
12-
environment:
13-
- NODE_ENV=development
7+
node:
8+
image: node:argon
9+
working_dir: /usr/src/app
10+
links:
11+
- mongo
12+
volumes:
13+
- .:/usr/src/app
14+
environment:
15+
- NODE_ENV=development
16+
- NPM_CONFIG_LOGLEVEL=silent
17+
- NPM_CONFIG_PROGRESS=false
18+
- NPM_CONFIG_SPIN=false
19+
command: npm test

0 commit comments

Comments
 (0)