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:
parent
84a456003c
commit
b79d989f78
6 changed files with 92 additions and 12 deletions
5
justfile
5
justfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue