2018-06-14 18:20:07 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
localnet: {}
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
cache:
|
|
|
|
image: redis
|
|
|
|
volumes:
|
|
|
|
- ./data:/data
|
2018-07-06 00:08:37 +00:00
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
2018-06-14 18:20:07 +00:00
|
|
|
networks:
|
|
|
|
- localnet
|
|
|
|
|
|
|
|
server:
|
2018-07-06 00:08:37 +00:00
|
|
|
build: .
|
|
|
|
image: server
|
|
|
|
command: nodemon --ignore client server.js
|
|
|
|
env_file: .env
|
|
|
|
volumes:
|
|
|
|
- .:/app
|
|
|
|
depends_on:
|
|
|
|
- cache
|
2018-06-14 18:20:07 +00:00
|
|
|
ports:
|
|
|
|
- "8080:5000"
|
|
|
|
networks:
|
|
|
|
- localnet
|
|
|
|
|
|
|
|
worker:
|
2018-07-06 00:08:37 +00:00
|
|
|
build: .
|
|
|
|
image: worker
|
|
|
|
command: nodemon --ignore client server/ingestLogs.js
|
2018-06-14 18:20:07 +00:00
|
|
|
env_file: .env
|
2018-07-06 00:08:37 +00:00
|
|
|
volumes:
|
|
|
|
- .:/app
|
2018-06-14 18:20:07 +00:00
|
|
|
depends_on:
|
|
|
|
- cache
|
2018-07-06 00:08:37 +00:00
|
|
|
networks:
|
|
|
|
- localnet
|