Merge pull request #1050 from king-81/dev
更新docker-compose.yml,新增web端以供更改数据库
This commit is contained in:
@@ -50,6 +50,18 @@ services:
|
|||||||
image: mlikiowa/napcat-docker:latest
|
image: mlikiowa/napcat-docker:latest
|
||||||
networks:
|
networks:
|
||||||
- maim_bot
|
- maim_bot
|
||||||
|
sqlite-web:
|
||||||
|
image: coleifer/sqlite-web
|
||||||
|
container_name: sqlite-web
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8120:8080"
|
||||||
|
volumes:
|
||||||
|
- ./data/MaiMBot/MaiBot.db:/data/MaiBot.db
|
||||||
|
environment:
|
||||||
|
- SQLITE_DATABASE=MaiBot.db # 你的数据库文件
|
||||||
|
networks:
|
||||||
|
- maim_bot
|
||||||
networks:
|
networks:
|
||||||
maim_bot:
|
maim_bot:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
Reference in New Issue
Block a user