mirror of
https://github.com/NationalSecurityAgency/timely.git
synced 2026-11-08 17:35:10 -10:00
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
version: '2.0'
|
|
services:
|
|
timely:
|
|
image: timely
|
|
build: .
|
|
ports:
|
|
- "9804:9804" # standalone zookeeper
|
|
- "54321:54321" # timely put
|
|
- "54322:54322" # timely query
|
|
volumes:
|
|
- ${PWD}/:/timely-server-src
|
|
command: /timely-server-src/bin/docker/deploy-startup-standalone.sh
|
|
environment:
|
|
- TIMELY_VERSION=0.0.6-SNAPSHOT
|
|
ingest:
|
|
image: timely
|
|
entrypoint: /timely-server-src/bin/docker/deploy-wait-and-insert.sh
|
|
volumes:
|
|
- ${PWD}/:/timely-server-src
|
|
depends_on:
|
|
- timely
|
|
environment:
|
|
- TIMELY_HOST=timely
|
|
- TIMELY_PORT=54321
|
|
- TIMELY_VERSION=0.0.6-SNAPSHOT
|
|
grafana:
|
|
image: grafana/grafana:4.4.3
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ${PWD}/../grafana/timely-app:/var/lib/grafana/plugins/timely-app
|
|
- ${PWD}/bin/docker/grafana:/etc/grafana
|
|
- ${PWD}/:/timely-server-src
|
|
entrypoint:
|
|
- gosu
|
|
- grafana
|
|
- /usr/sbin/grafana-server
|
|
- --homepath=/usr/share/grafana
|
|
- --config=/etc/grafana/grafana.ini
|
|
- cfg:default.paths.data=/var/lib/grafana
|
|
- cfg:default.paths.logs=/var/log/grafana
|
|
- cfg:default.paths.plugins=/var/lib/grafana/plugins
|
|
depends_on:
|
|
- timely
|