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