ci: add docker support
This commit is contained in:
parent
3384228e61
commit
84a456003c
10 changed files with 189 additions and 112 deletions
10
justfile
10
justfile
|
|
@ -4,3 +4,13 @@ export RUST_LOG := "trace"
|
|||
watch-run:
|
||||
cargo-watch -x 'run -- --config config.yaml'
|
||||
|
||||
docker-run:
|
||||
docker run -p 3085:8080 -v ./config:/etc/autotasker -v ./db:/var/lib/autotasker autotasker
|
||||
|
||||
docker-init-db:
|
||||
docker run -v ./config:/etc/autotasker -v ./db:/var/lib/autotasker autotasker /usr/local/bin/autotasker_init_db.sh
|
||||
|
||||
docker-build:
|
||||
docker build -t autotasker .
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue