diff --git a/README.md b/README.md index 23bd1aa..728011e 100644 --- a/README.md +++ b/README.md @@ -84,3 +84,19 @@ $ cargo install --force cargo-make $ cargo make build ``` + +### docker + +> .env + +```sh +HANDLE=ai.syu.is +PASSWORD=xxx +HOST=syu.is +ADMIN=syui.syu.is +``` + +```sh +$ docker compose build +$ docker compose up -d +``` diff --git a/test/entrypoint.sh b/test/entrypoint.sh index dfdd5dc..bed078b 100644 --- a/test/entrypoint.sh +++ b/test/entrypoint.sh @@ -1,3 +1,3 @@ #!/bin/zsh -ai l $HANDLE -p $PASSWORD -s $HOST && ai bot -a syui.$HOST +ai l $HANDLE -p $PASSWORD -s $HOST && ai bot -a $ADMIN