File tree 4 files changed +9
-7
lines changed
4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
mvn clean install
2
2
3
- unzip target/docker.zip -o - d target
3
+ unzip target/docker.zip -d target
4
4
5
- docker build -t cspinformatique/redis-message-server target/docker
5
+ docker build -t cspinformatique/redis-message-server target/docker
Original file line number Diff line number Diff line change
1
+ docker rm -f wevan-redis wevan-redis-message-server
2
+
1
3
docker-resources/scripts/deploy-redis.sh
2
- docker-resources/scripts/deploy-redis-message-server.sh
4
+ docker-resources/scripts/deploy-redis-message-server.sh
Original file line number Diff line number Diff line change 1
- docker run --name wevan-redis-message-server -- link wevan-redis:redis -d cspinformatique/redis-message-server
1
+ docker run --name wevan-redis-message-server -p 8070:8080 -- link wevan-redis:redis -e redis.hostname=redis -e redis.port=6379 -d cspinformatique/redis-message-server
Original file line number Diff line number Diff line change 1
1
REDIS_VOLUME_PATH=/docker-volumes/wevan-redis
2
2
3
- if [ ! -f $REDIS_DATA_PATH ]; then
3
+ if [ ! -f $REDIS_VOLUME_PATH ]; then
4
4
echo " Creating $REDIS_VOLUME_PATH "
5
5
mkdir -p $REDIS_VOLUME_PATH
6
6
fi
7
7
8
- CMD=docker run --name wevan-redis -v $REDIS_VOLUME_PATH :/data -d redis redis-server
8
+ CMD=" docker run --name wevan-redis -v $REDIS_VOLUME_PATH :/data -d redis"
9
9
10
10
echo " Executing docker command :"
11
11
echo " : $CMD "
12
12
13
- $CMD
13
+ $CMD
You can’t perform that action at this time.
0 commit comments