[problem] Install the Testsigma by docker-compose, happened problem stay at mysql container staring long time #79
Replies: 2 comments
-
-- step 1 chmod -R 777 /home/app/testsigma-server/ && -- ============================================================================ -- step 2 mkdir -p /home/app/testsigma-server/docker-compose-yml/ cat > /home/app/testsigma-server/docker-compose-yml/docker-compose.yml << EOF -- ============================================================================ -- step 3 -- 参考资料: -- ============================================================================ -- 切换账号 -- ============================================================================ cd /home/app/testsigma-server/docker-compose-yml/ -- 安装和启动软件 -- 执行结果,如下: -- ============================================================================ -- step 4 -- 查看镜像列表 -- 执行结果,如下: -- ============================================================================ ls -al /home/app/testsigma-server/docker-compose -- ============================================================================ |
Beta Was this translation helpful? Give feedback.
-
@tiandong19860806 this issue has been fixed with the latest update. You can use the latest version and let us know if you are facing this issue. You can remove the older set up completely and do a clean set up |
Beta Was this translation helpful? Give feedback.
-
Hi Testsigma teams,
I have a problem that I installed the Testsigma by docker-compose, happened problem stay at mysql container staring long time.
detail as below:
And I expect result : it is start testsigma two container normal and not stay starting long time.
Thanks.
(1) OS version
[root@CNT7XATST01 ~]# uname -a
Linux CNT7XATST01 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
(2) docker version
[root@CNT7XATST01 ~]# docker --version
Docker version 20.10.17, build 100c701
[root@CNT7XATST01 ~]#
[root@CNT7XATST01 ~]# docker-compose --version
Docker Compose version v2.9.0
(3) Testsigma install by docker as below
cat > /home/app/testsigma-server/docker-compose-yml/docker-compose.yml << EOF
version: "3.9"
services:
mysql:
image: mysql:5.7
platform: linux/x86_64
container_name: testsigma_mysql
restart: always
volumes:
- /home/data/testsigma-server/db_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: db_testsigma_opensource
LANG: C.UTF-8
LC_ALL: C.UTF-8
ports:
- "3306:3306"
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
healthcheck:
test: out=$$(mysqladmin ping -h localhost -P 3306 -u root --password=root 2>&1); echo $$out | grep 'mysqld is alive' || { echo $$out; exit 1; }
interval: 300s
retries: 10
testsigma_server:
image: testsigmahq/server:v1.1.0
container_name: testsigma_server
ports:
- "9090:9090"
- "443:443"
volumes:
- /home/data/testsigma-server/ts_data:/opt/app/ts_data
depends_on:
mysql:
condition: service_healthy
EOF
-- and detail steps , look attachment
(4) problem as below:
pic 1: start up docker-compose, the mysql container is long time stay starting.
but the docker images , had compeleted download ago.
pic 2: but actual ,the container [mysql] had completed completed, I can connect it by two case.
(1) connect mysql container by outside it
(2) connect mysql container by inside it
Beta Was this translation helpful? Give feedback.
All reactions