mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-18 22:06:41 +08:00
About dice & olivos : Docker images sourced from unofficial repositories. These are community-maintained images, please assess security risks before use. The sealdice image is the official build, but since no 'latest' tag is published, please refer to https://github.com/sealdice/sealdice-build/pkgs/container/sealdice when creating containers to check and update the image name.
39 lines
961 B
YAML
39 lines
961 B
YAML
# 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 |