feat(executor): remote host executing via ssh

Allow to specify a task to be running on a remote host via wrapping
command around ssh client.
This commit is contained in:
Matthieu Bessat 2024-08-02 19:40:14 +02:00
parent 84a456003c
commit b79d989f78
6 changed files with 92 additions and 12 deletions

View file

@ -2,7 +2,10 @@ export RUST_BACKTRACE := "1"
export RUST_LOG := "trace"
watch-run:
cargo-watch -x 'run -- --config config.yaml'
cargo-watch -x 'run -- --config config.yaml --database ./tmp/dbs/autotasker.db'
run:
cargo run -- --database ./tmp/dbs/autotasker.db --config ./config.yaml --static-assets ./assets
docker-run:
docker run -p 3085:8080 -v ./config:/etc/autotasker -v ./db:/var/lib/autotasker autotasker