From 1358596d6ae452a00226f5c719aa5b3e6ff43925 Mon Sep 17 00:00:00 2001 From: fghwett <1058178245@qq.com> Date: Thu, 27 Jul 2023 12:02:09 +0800 Subject: [PATCH] add nsfw-auth --- Docker/nsfw-auth/docker-compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Docker/nsfw-auth/docker-compose.yml diff --git a/Docker/nsfw-auth/docker-compose.yml b/Docker/nsfw-auth/docker-compose.yml new file mode 100644 index 0000000..7916867 --- /dev/null +++ b/Docker/nsfw-auth/docker-compose.yml @@ -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/ \ No newline at end of file