mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 06:30:12 +08:00
feat: astrbot
This commit is contained in:
parent
bd117b7dc9
commit
e2e148e768
40
compose/astrbot.yml
Normal file
40
compose/astrbot.yml
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
astrbot:
|
||||||
|
image: soulter/astrbot:latest
|
||||||
|
container_name: astrbot
|
||||||
|
ports:
|
||||||
|
- "6185:6185"
|
||||||
|
- "6195:6195"
|
||||||
|
- "6199:6199"
|
||||||
|
- "6196:6196"
|
||||||
|
- "11451:11451"
|
||||||
|
volumes:
|
||||||
|
- ./data:/AstrBot/data
|
||||||
|
networks:
|
||||||
|
- astrbot_network
|
||||||
|
|
||||||
|
napcat:
|
||||||
|
environment:
|
||||||
|
- NAPCAT_UID=${NAPCAT_UID}
|
||||||
|
- NAPCAT_GID=${NAPCAT_GID}
|
||||||
|
- MODE=astrbot
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
- 3001:3001
|
||||||
|
- 6099:6099
|
||||||
|
container_name: napcat
|
||||||
|
network_mode: bridge
|
||||||
|
restart: always
|
||||||
|
image: mlikiowa/napcat-docker:latest
|
||||||
|
volumes:
|
||||||
|
- ./napcat:/app/napcat/config
|
||||||
|
- ./ntqq:/app/.config/QQ
|
||||||
|
networks:
|
||||||
|
- astrbot_network
|
||||||
|
mac_address: "02:42:ac:11:00:02"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
astrbot_network:
|
||||||
|
driver: bridge
|
||||||
@ -8,7 +8,7 @@
|
|||||||
{
|
{
|
||||||
"enable": true,
|
"enable": true,
|
||||||
"name": "rws",
|
"name": "rws",
|
||||||
"url": "ws://127.0.0.1:6199/ws",
|
"url": "ws://astrbot:6199/ws",
|
||||||
"reportSelfMessage": false,
|
"reportSelfMessage": false,
|
||||||
"messagePostFormat": "array",
|
"messagePostFormat": "array",
|
||||||
"token": "",
|
"token": "",
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
{
|
{
|
||||||
"enable": true,
|
"enable": true,
|
||||||
"name": "rws",
|
"name": "rws",
|
||||||
"url": "ws://127.0.0.1:5140/onebot",
|
"url": "ws://koishi:5140/onebot",
|
||||||
"reportSelfMessage": false,
|
"reportSelfMessage": false,
|
||||||
"messagePostFormat": "array",
|
"messagePostFormat": "array",
|
||||||
"token": "",
|
"token": "",
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
{
|
{
|
||||||
"enable": true,
|
"enable": true,
|
||||||
"name": "rws",
|
"name": "rws",
|
||||||
"url": "ws://127.0.0.1:8080/onebot/v11/ws",
|
"url": "ws://nonebot:8080/onebot/v11/ws",
|
||||||
"reportSelfMessage": false,
|
"reportSelfMessage": false,
|
||||||
"messagePostFormat": "array",
|
"messagePostFormat": "array",
|
||||||
"token": "",
|
"token": "",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user