Skip to content

Commit c623417

Browse files
author
Hans Kristian Flaatten
committed
Add Docker Compose development environment
1 parent ff7fee8 commit c623417

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ build/Release
2525
# Dependency directory
2626
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
2727
node_modules
28+
29+
.env

docker-compose.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
dev:
2+
image: iojs:2
3+
working_dir: /usr/src/app
4+
volumes:
5+
- ".:/usr/src/app"
6+
command: "npm run watch"
7+
env_file: .env
8+
environment:
9+
- NTB_API_ENV=dev
10+
- NTB_USER_AGENT=turbasen.js/alpha

0 commit comments

Comments
 (0)