mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 11:51:55 +08:00
更新构建shell
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#! /bin/bash
|
||||
docker rm -f redis-6.0
|
||||
docker run --name=redis-6.0 --restart=always -itd -v /opt/pscada-online/redis-conf/redis.conf:/etc/redis/redis.conf -p 6379:6379 redis
|
||||
|
||||
#项目程序部署目录
|
||||
project=$1
|
||||
docker run --name=redis-6.0 --restart=always -itd -v ${project}/redis-conf/redis.conf:/etc/redis/redis.conf -p 6379:6379 redis
|
||||
|
||||
Reference in New Issue
Block a user