when mounting a shared volume, the uid:gid is changed automaticlly
which could cause potential unstable.
Change-Id: If6279489ba0ba3d24fdd6893e02d9babf29d7925
Issue-ID: DCAEGEN2-1702
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
#!/bin/bash
-set -x
+set -x
server_check() {
for i in {1..10}; do
res=$(curl -s -o /dev/null -w "%{http_code}" localhost:$2$3)
docker-compose up -d
+sudo chown $(id -u):$(id -g) consul
+sudo chown $(id -u):$(id -g) consul/consul/
+
declare -a SFTP_SIM
declare -a FTPS_SIM