Created
October 29, 2020 04:30
-
-
Save collabnix/50dff83d4af12e1cbc42f79179f7efec to your computer and use it in GitHub Desktop.
stacky.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
redis-commander: | |
build: https://github.com/collabnix/Redisai_edgeAnalytics.git | |
redisedge: | |
build: ./redisedge | |
ports: | |
- 6379:6379 | |
init: | |
build: ./app | |
depends_on: | |
- redisedge | |
command: ['init.py', '--url', 'redis://redisedge:6379'] | |
server: | |
build: ./app | |
depends_on: | |
- init | |
ports: | |
- 5000:5000 | |
command: ['server.py', '--url', 'redis://redisedge:6379'] | |
capture: | |
build: ./app | |
depends_on: | |
- init | |
# To capture from a webcam, uncomment the next lines | |
# devices: | |
# - /dev/video0:/dev/video0 | |
# command: ['capture.py', '--url', 'redis://redisedge:6379'] | |
command: ['capture.py', '--url', 'redis://redisedge:6379', 'data/walking.mp4'] | |
prometheus: | |
build: ./prometheus | |
ports: | |
- 9090:9090 | |
prometheus-redistimeseries-adapter: | |
image: redislabs/prometheus-redistimeseries-adapter:master | |
# TODO: freeze version | |
depends_on: | |
- prometheus | |
ports: | |
- 9201:9201 | |
command: ['-redis-address', 'redisedge:6379', '-web.listen-address', '0.0.0.0:9201'] | |
grafana: | |
image: ajeetraina/grafana-redisedge | |
environment: | |
- GF_INSTALL_PLUGINS=redis-datasource | |
depends_on: | |
- prometheus | |
ports: | |
- 3000:3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment