add sentinel + correction ninegate/nineskeletor + add nine pull
This commit is contained in:
11
services/35-sentinel/dockercompose/dockercompose.yml
Normal file
11
services/35-sentinel/dockercompose/dockercompose.yml
Normal file
@ -0,0 +1,11 @@
|
||||
services:
|
||||
# Sentinel
|
||||
# Sentinel du servince redis
|
||||
# Port interne 26379
|
||||
sentinel:
|
||||
image: reg.cadoles.com/envole/sentinel
|
||||
container_name: nine-sentinel
|
||||
env_file: ./services/35-sentinel/env/.env.merge
|
||||
networks:
|
||||
- nine-network
|
||||
|
3
services/35-sentinel/env/.env
vendored
Normal file
3
services/35-sentinel/env/.env
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
# == SENTINEL ================================================================================================================================
|
||||
|
23
services/35-sentinel/misc/nine.sh
Normal file
23
services/35-sentinel/misc/nine.sh
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
function upsentinel {
|
||||
if [[ $SENTINEL_ACTIVATE == 1 && $SENTINEL_LOCAL == 1 ]]
|
||||
then
|
||||
Title "SENTINEL"
|
||||
EchoVert "CONTAINER"
|
||||
upservice $SENTINEL_SERVICE_NAME
|
||||
Echo
|
||||
fi
|
||||
}
|
||||
|
||||
function destroysentinel(){
|
||||
if [[ $SENTINEL_LOCAL == 1 ]]
|
||||
then
|
||||
Title "DESTROY $SENTINEL_SERVICE_NAME"
|
||||
|
||||
stop $SENTINEL_SERVICE_NAME 1
|
||||
docker-compose rm -s -v -f "$SENTINEL_SERVICE_NAME"
|
||||
|
||||
echo ""
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user