mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 22:52:10 +08:00
fix
This commit is contained in:
parent
dd21fb678f
commit
5875f69b0f
@ -30,6 +30,7 @@ docker run -d \
|
|||||||
-p 6099:6099 \
|
-p 6099:6099 \
|
||||||
--name napcat \
|
--name napcat \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
|
--security-opt seccomp:unconfined \
|
||||||
mlikiowa/napcat-docker:latest
|
mlikiowa/napcat-docker:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -70,6 +71,7 @@ docker run -d \
|
|||||||
-e WS_URLS='["ws://192.168.3.8:5140/onebot"]' \
|
-e WS_URLS='["ws://192.168.3.8:5140/onebot"]' \
|
||||||
-e NAPCAT_GID=$(id -g) \
|
-e NAPCAT_GID=$(id -g) \
|
||||||
-e NAPCAT_UID=$(id -u) \
|
-e NAPCAT_UID=$(id -u) \
|
||||||
|
--security-opt seccomp:unconfined \
|
||||||
--name napcat \
|
--name napcat \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
mlikiowa/napcat-docker:latest
|
mlikiowa/napcat-docker:latest
|
||||||
@ -90,6 +92,8 @@ services:
|
|||||||
- NAPCAT_GID=${NAPCAT_GID}
|
- NAPCAT_GID=${NAPCAT_GID}
|
||||||
container_name: napcat
|
container_name: napcat
|
||||||
network_mode: bridge
|
network_mode: bridge
|
||||||
|
security_opt:
|
||||||
|
- seccomp:unconfined
|
||||||
ports:
|
ports:
|
||||||
- 6099:6099
|
- 6099:6099
|
||||||
restart: always
|
restart: always
|
||||||
@ -138,6 +142,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
- 6099:6099
|
- 6099:6099
|
||||||
|
security_opt:
|
||||||
|
- seccomp:unconfined
|
||||||
container_name: napcat
|
container_name: napcat
|
||||||
network_mode: bridge
|
network_mode: bridge
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user