spacedeck-open/docker-compose.yml

35 lines
707 B
YAML
Raw Normal View History

2017-04-07 10:50:48 +02:00
version: '2'
services:
sync:
image: redis
storage:
image: minio/minio
environment:
- MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE
- MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
ports:
- 9123:9000
2017-04-07 13:07:09 +02:00
command: server /export
2017-04-07 10:50:48 +02:00
db:
image: mongo
spacedeck-open:
2017-04-07 10:50:48 +02:00
environment:
- env=development
2017-04-07 13:07:09 +02:00
- MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE
- MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
2017-04-07 10:50:48 +02:00
build: .
volumes:
# - ./:/usr/src/app
2017-04-07 10:50:48 +02:00
- /usr/src/app/node_modules
command: npm start
ports:
- 9666:9666
depends_on:
- db
- sync
2017-04-07 13:07:09 +02:00
- storage
links:
- storage
- db
- sync