docker-compose.yml @@ -11,6 +11,7 @@ - redis ports: - "81:81" # 容器停止后会重启 restart: always redis: image: "redis:alpine"