From e5950df8d3322b8f4baf4266d06968482ee4d3a9 Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 24 Feb 2024 20:43:00 +0900 Subject: [PATCH] fix readme --- README.md | 16 ++++++++++++++++ test/entrypoint.sh | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) 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