added experiemental docker support

This commit is contained in:
Martin Guether
2017-04-07 10:50:48 +02:00
parent 2e34b317a4
commit a3e2129b79
3 changed files with 52 additions and 3 deletions

27
docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
version: '2'
services:
sync:
image: redis
storage:
image: minio/minio
environment:
- MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE
- MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
ports:
- 9123:9000
db:
image: mongo
spacedeck:
environment:
- env=development
build: .
volumes:
- ./:/usr/src/app
- /usr/src/app/node_modules
command: npm start
ports:
- 9666:9666
depends_on:
- db
- sync
- storage