fix docker
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
This commit is contained in:
20
compose.yml
20
compose.yml
@@ -1,11 +1,13 @@
|
||||
services:
|
||||
aios:
|
||||
#image: syui/aios
|
||||
#command: aibot bot -a syui.syu.is
|
||||
build:
|
||||
context: .
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
bot:
|
||||
image: syui/aios
|
||||
container_name: aibot
|
||||
restart: unless-stopped
|
||||
command: ["aibot", "bot", "-a", "${ADMIN:-syui.ai}"]
|
||||
volumes:
|
||||
- ./.config:/root/.config
|
||||
- ~/.config/syui/ai/bot:/root/.config/syui/ai/bot
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
Reference in New Issue
Block a user