mirror of
https://github.com/newnius/YAO-docs.git
synced 2024-07-06 05:15:18 +00:00
rearrange, bugfix
This commit is contained in:
10
sbin/start_redis.sh
Executable file
10
sbin/start_redis.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
|
||||
docker service create \
|
||||
--name redis \
|
||||
--hostname redis \
|
||||
--network yao-net \
|
||||
--replicas 1 \
|
||||
--detach=true \
|
||||
--endpoint-mode dnsrr \
|
||||
redis redis-server --appendonly yes
|
||||
Reference in New Issue
Block a user