Files
napcat-docker/docker-compose.yml

28 lines
677 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
napcat:
image: mlikiowa/napcat-docker:latest
container_name: napcat
restart: always
environment:
- NAPCAT_UID=1000
- NAPCAT_GID=1000
- TZ=Asia/Shanghai
# 改成自己的 QQ 号
- ACCOUNT=你的QQ号
# WebUI 登录 token,留空则使用 NapCat 默认
# - WEBUI_TOKEN=xxxxxx
# - WEBUI_PREFIX=/napcat
ports:
- "6099:6099"
volumes:
# NapCat 配置文件(onebot11.json、webui.json、napcat.json)
- ./docker-config/napcat:/app/napcat/config
# QQ 本体与登录态
- ./data/qq:/app/.config/QQ
networks:
- napcat
networks:
napcat:
driver: bridge