influxdata / sandbox

A sandbox for the full TICK stack
MIT License
484 stars 219 forks source link

add behaviour similar to docker's option '--restart always' #66

Closed wosiu closed 5 years ago

wosiu commented 5 years ago

It would be nice to have a flag, that indicates that TICK stack should be automatically restarted e.g. after reboot (as it happens when one runs: docker run --restart always ...). For now I'm using cron. Or maybe just set restart always policy as a default, then it is easy I guess - just adding: restart: always for all services in docker-compose.yml.

rawkode commented 5 years ago

@wosiu The sandbox is for playing around with the TICK stack and becoming familiar with the tooling. Providing restart support isn't something this repository should be responsible for, as this would encourage people to use the sandbox for non-sandbox workloads.