a hacky web based IDE for writing kapacitor tickscripts
438
Tickscript Studio is a hacky and simple IDE for developing and testing TICKscripts. It consists of a server-side application written in Go, and a single page app written with Angular 1.4 and built with systemjs-bundle.
It is meant to be run in docker along with a dedicated instance of kapacitor. It provides input to kapacitor, and then reads kapacitor's output and presents it to the user.
Currently it does not support an external kapacitor server since it wants to be able to read/truncate kapacitor's log file.
https://github.com/sequentialread/tickscript-studio
https://www.youtube.com/watch?v=QGDXPUJ_An4
To deploy it in a basic configuration, you can use the following docker-compose.yml file. Make sure to set the TICKSCRIPT_STUDIO_INFLUXDB environment variables for your influxdb server.
version: "2"
services:
kapacitor:
image: kapacitor:1.0.1
dns: 127.0.0.1
environment:
KAPACITOR_HOSTNAME: kapacitor
KAPACITOR_LOGGING_FILE: '/var/log/kapacitor/kapacitor.log'
KAPACITOR_INFLUXDB_0_URLS_0: 'http://tickscript-studio:8081/'
KAPACITOR_INFLUXDB_0_DISABLE_SUBSCRIPTIONS: 'true'
KAPACITOR_SLACK_ENABLED: 'true'
KAPACITOR_SLACK_URL: 'http://tickscript-studio:8081/alert'
KAPACITOR_SLACK_GLOBAL: 'true'
volumes:
- kapacitorlogs:/var/log/kapacitor
networks:
bridged-network:
aliases:
- kapacitor
tickscript-studio:
image: sequentialread/tickscript-studio:0.0.18
dns:
- 127.0.0.1
- 8.8.8.8
- 8.8.4.4
ports:
- '8081:8081'
environment:
TICKSCRIPT_STUDIO_INFLUXDB_SCHEME: 'http'
TICKSCRIPT_STUDIO_INFLUXDB_HOST: 'my-influx-db.com:8086'
TICKSCRIPT_STUDIO_INFLUXDB_USERNAME: ''
TICKSCRIPT_STUDIO_INFLUXDB_PASSWORD: ''
volumes:
- kapacitorlogs:/var/log/kapacitor
networks:
bridged-network:
aliases:
- tickscript-studio
volumes:
kapacitorlogs:
networks:
bridged-network:
driver: bridge
Content type
Image
Digest
Size
133.9 MB
Last updated
about 8 years ago
docker pull sequentialread/tickscript-studio:0.0.18