add nsfw-auth
This commit is contained in:
21
Docker/nsfw-auth/docker-compose.yml
Normal file
21
Docker/nsfw-auth/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
version: '3.3'
|
||||||
|
services:
|
||||||
|
nsfw-auth:
|
||||||
|
ports:
|
||||||
|
- 5000:5000
|
||||||
|
environment:
|
||||||
|
API_SECRET_KEY: 'cd58fe3b-839b-47d6-8c88-f8f667b885ee' # 设置api key
|
||||||
|
container_name: nsfw-auth
|
||||||
|
restart: unless-stopped
|
||||||
|
image: ethandai4869/nsfw-auth
|
||||||
|
networks:
|
||||||
|
nginx:
|
||||||
|
aliases:
|
||||||
|
- nsfw-auth
|
||||||
|
|
||||||
|
networks:
|
||||||
|
nginx:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
# https://blog.csdn.net/alex_yangchuansheng/article/details/131888095
|
||||||
|
# https://github.com/labring/nsfw/
|
||||||
Reference in New Issue
Block a user