mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 14:41:33 +08:00
Merge pull request #81 from ShiaBox/main
update dice.yml olivos.yml sealdice.yml
This commit is contained in:
commit
24cbeb34cd
39
compose/dice.yml
Normal file
39
compose/dice.yml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# docker-compose.yml
|
||||||
|
# ACCOUNT=123456 NAPCAT_UID=$(id -u) NAPCAT_GID=$(id -g) docker-compose -f ./compose/dice.yml up -d
|
||||||
|
services:
|
||||||
|
dice:
|
||||||
|
image: shiaworkshop/dice:latest
|
||||||
|
container_name: dice-main
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
volumes:
|
||||||
|
- "./Dice:/app/Dice"
|
||||||
|
- "./napcat/config:/app/napcat/config"
|
||||||
|
environment:
|
||||||
|
- ACCOUNT=${ACCOUNT}
|
||||||
|
networks:
|
||||||
|
- dice_network
|
||||||
|
depends_on:
|
||||||
|
- napcat
|
||||||
|
|
||||||
|
napcat:
|
||||||
|
image: mlikiowa/napcat-docker:latest
|
||||||
|
container_name: napcat
|
||||||
|
ports:
|
||||||
|
- "6099:6099"
|
||||||
|
volumes:
|
||||||
|
- "./napcat/config:/app/napcat/config"
|
||||||
|
- "./napcat/QQ_DATA:/app/.config/QQ"
|
||||||
|
- "./Dice:/app/Dice"
|
||||||
|
environment:
|
||||||
|
- NAPCAT_UID=${NAPCAT_UID:-1000}
|
||||||
|
- NAPCAT_GID=${NAPCAT_GID:-1000}
|
||||||
|
- ACCOUNT=${ACCOUNT}
|
||||||
|
- MODE=dice
|
||||||
|
networks:
|
||||||
|
- dice_network
|
||||||
|
mac_address: "02:42:ac:11:00:02"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
dice_network:
|
||||||
|
driver: bridge
|
||||||
39
compose/olivos.yml
Normal file
39
compose/olivos.yml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# docker-compose.yml
|
||||||
|
# ACCOUNT=123456 NAPCAT_UID=$(id -u) NAPCAT_GID=$(id -g) docker-compose -f ./compose/olivos.yml up -d
|
||||||
|
services:
|
||||||
|
olivos-app:
|
||||||
|
image: shiaworkshop/olivos:latest
|
||||||
|
container_name: olivos-main
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
volumes:
|
||||||
|
- "./OlivOS:/app/OlivOS"
|
||||||
|
- "./napcat/config:/app/napcat/config"
|
||||||
|
environment:
|
||||||
|
- LOGIN_UIN=${ACCOUNT}
|
||||||
|
networks:
|
||||||
|
- olivos_network
|
||||||
|
depends_on:
|
||||||
|
- napcat
|
||||||
|
|
||||||
|
napcat:
|
||||||
|
image: mlikiowa/napcat-docker:latest
|
||||||
|
container_name: napcat
|
||||||
|
ports:
|
||||||
|
- "6099:6099"
|
||||||
|
volumes:
|
||||||
|
- "./napcat/config:/app/napcat/config"
|
||||||
|
- "./napcat/QQ_DATA:/app/.config/QQ"
|
||||||
|
- "./OlivOS:/app/OlivOS"
|
||||||
|
environment:
|
||||||
|
- NAPCAT_UID=${NAPCAT_UID:-1000}
|
||||||
|
- NAPCAT_GID=${NAPCAT_GID:-1000}
|
||||||
|
- ACCOUNT=${ACCOUNT}
|
||||||
|
- MODE=olivos
|
||||||
|
networks:
|
||||||
|
- olivos_network
|
||||||
|
mac_address: "02:42:ac:11:00:02"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
olivos_network:
|
||||||
|
driver: bridge
|
||||||
37
compose/sealdice.yml
Normal file
37
compose/sealdice.yml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# docker-compose.yml
|
||||||
|
# NAPCAT_UID=$(id -u) NAPCAT_GID=$(id -g) docker-compose -f ./compose/sealdice.yml up -d
|
||||||
|
services:
|
||||||
|
sealdice:
|
||||||
|
image: ghcr.io/sealdice/sealdice:sha-2428978
|
||||||
|
container_name: sealdice
|
||||||
|
ports:
|
||||||
|
- "3211:3211"
|
||||||
|
volumes:
|
||||||
|
- "./data:/data"
|
||||||
|
- "./backups:/backups"
|
||||||
|
networks:
|
||||||
|
- sealdice_network
|
||||||
|
depends_on:
|
||||||
|
- napcat
|
||||||
|
|
||||||
|
napcat:
|
||||||
|
image: mlikiowa/napcat-docker:latest
|
||||||
|
container_name: napcat
|
||||||
|
ports:
|
||||||
|
- "6099:6099"
|
||||||
|
volumes:
|
||||||
|
- "./napcat/config:/app/napcat/config"
|
||||||
|
- "./napcat/QQ_DATA:/app/.config/QQ"
|
||||||
|
- "./data:/data"
|
||||||
|
- "./backups:/backups"
|
||||||
|
environment:
|
||||||
|
- NAPCAT_UID=${NAPCAT_UID:-1000}
|
||||||
|
- NAPCAT_GID=${NAPCAT_GID:-1000}
|
||||||
|
- MODE=sealdice
|
||||||
|
networks:
|
||||||
|
- sealdice_network
|
||||||
|
mac_address: "02:42:ac:11:00:02"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
sealdice_network:
|
||||||
|
driver: bridge
|
||||||
26
templates/templates/dice.json
Normal file
26
templates/templates/dice.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"network": {
|
||||||
|
"httpServers": [],
|
||||||
|
"httpSseServers": [],
|
||||||
|
"httpClients": [],
|
||||||
|
"websocketServers": [
|
||||||
|
{
|
||||||
|
"enable": true,
|
||||||
|
"name": "dice",
|
||||||
|
"host": "0.0.0.0",
|
||||||
|
"port": 15801,
|
||||||
|
"reportSelfMessage": false,
|
||||||
|
"enableForcePushEvent": true,
|
||||||
|
"messagePostFormat": "array",
|
||||||
|
"token": "",
|
||||||
|
"debug": false,
|
||||||
|
"heartInterval": 30000
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"websocketClients": [],
|
||||||
|
"plugins": []
|
||||||
|
},
|
||||||
|
"musicSignUrl": "",
|
||||||
|
"enableLocalFile2Url": false,
|
||||||
|
"parseMultMsg": false
|
||||||
|
}
|
||||||
35
templates/templates/olivos.json
Normal file
35
templates/templates/olivos.json
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"network": {
|
||||||
|
"httpServers": [
|
||||||
|
{
|
||||||
|
"enable": true,
|
||||||
|
"name": "olivos-http-server",
|
||||||
|
"host": "0.0.0.0",
|
||||||
|
"port": 5700,
|
||||||
|
"enableCors": true,
|
||||||
|
"enableWebsocket": true,
|
||||||
|
"messagePostFormat": "string",
|
||||||
|
"token": "7777777",
|
||||||
|
"debug": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"httpSseServers": [],
|
||||||
|
"httpClients": [
|
||||||
|
{
|
||||||
|
"enable": true,
|
||||||
|
"name": "olivos-http-client",
|
||||||
|
"url": "http://olivos-app:55001/OlivOSMsgApi/qq/onebot/default",
|
||||||
|
"reportSelfMessage": false,
|
||||||
|
"messagePostFormat": "string",
|
||||||
|
"token": "7777777",
|
||||||
|
"debug": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"websocketServers": [],
|
||||||
|
"websocketClients": [],
|
||||||
|
"plugins": []
|
||||||
|
},
|
||||||
|
"musicSignUrl": "",
|
||||||
|
"enableLocalFile2Url": false,
|
||||||
|
"parseMultMsg": false
|
||||||
|
}
|
||||||
26
templates/templates/sealdice.json
Normal file
26
templates/templates/sealdice.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"network": {
|
||||||
|
"httpServers": [],
|
||||||
|
"httpSseServers": [],
|
||||||
|
"httpClients": [],
|
||||||
|
"websocketServers": [
|
||||||
|
{
|
||||||
|
"enable": true,
|
||||||
|
"name": "sealdice",
|
||||||
|
"host": "0.0.0.0",
|
||||||
|
"port": 1234,
|
||||||
|
"reportSelfMessage": false,
|
||||||
|
"enableForcePushEvent": true,
|
||||||
|
"messagePostFormat": "array",
|
||||||
|
"token": "",
|
||||||
|
"debug": false,
|
||||||
|
"heartInterval": 30000
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"websocketClients": [],
|
||||||
|
"plugins": []
|
||||||
|
},
|
||||||
|
"musicSignUrl": "",
|
||||||
|
"enableLocalFile2Url": false,
|
||||||
|
"parseMultMsg": false
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user