add redis

This commit is contained in:
2022-04-22 15:11:53 +08:00
parent 45587e3efd
commit d489ceb898

15
redis/docker-compose.yml Normal file
View File

@@ -0,0 +1,15 @@
version: '3'
services:
redis:
container_name: "redis"
restart: unless-stopped
network_mode: "host"
image: redis:5.0.14
networks:
nginx:
aliases:
- nsfw_api
networks:
nginx:
external: true