Commit e1d22a59d94fecd9c7179a1dbc3cfedb203c893b

Authored by Alexis Koralewski
1 parent fe97c24c
Exists in dev

Change redis container name to pyros-redis

  1 +16-01-2023 (AKo): v0.6.16.0
  2 + - Change redis container name to pyros-redis
  3 +
1 13-01-2023 (AKo): v0.6.16.0 4 13-01-2023 (AKo): v0.6.16.0
2 - Add websocket for agent_cmd & agent_survey models & views 5 - Add websocket for agent_cmd & agent_survey models & views
3 - Add api tests 6 - Add api tests
docker/PYROS_DOCKER_INSTALL
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 # if no container is running 3 # if no container is running
4 -if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 3 ] 4 +if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
5 then 5 then
6 echo "pyros-db or pyros weren't running, starting them..." 6 echo "pyros-db or pyros weren't running, starting them..."
7 ./PYROS_DOCKER_START.bat 7 ./PYROS_DOCKER_START.bat
docker/PYROS_DOCKER_RUN
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 #if no container is running 3 #if no container is running
4 -if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 3 ] 4 +if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
5 then 5 then
6 echo "pyros-db or pyros weren't running, starting them..." 6 echo "pyros-db or pyros weren't running, starting them..."
7 ./PYROS_DOCKER_START.bat 7 ./PYROS_DOCKER_START.bat
docker/PYROS_DOCKER_RUN_WEBSERVER_ONLY
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 #if no container is running 3 #if no container is running
4 -if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 3 ] 4 +if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
5 then 5 then
6 echo "pyros-db or pyros weren't running, starting them..." 6 echo "pyros-db or pyros weren't running, starting them..."
7 ./PYROS_DOCKER_START.bat 7 ./PYROS_DOCKER_START.bat
docker/PYROS_DOCKER_SHELL
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 #if no container is running 3 #if no container is running
4 -if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 3 ] 4 +if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
5 then 5 then
6 echo "pyros-db or pyros weren't running, starting them..." 6 echo "pyros-db or pyros weren't running, starting them..."
7 ./PYROS_DOCKER_START.bat 7 ./PYROS_DOCKER_START.bat
docker/PYROS_DOCKER_TEST
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 # if no container is running 3 # if no container is running
4 -if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 3 ] 4 +if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
5 then 5 then
6 echo "pyros-db or pyros weren't running, starting them..." 6 echo "pyros-db or pyros weren't running, starting them..."
7 ./PYROS_DOCKER_START.bat 7 ./PYROS_DOCKER_START.bat
docker/PYROS_DOCKER_UPDATE
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 # If no container is running Start it 3 # If no container is running Start it
4 -if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 3 ] 4 +if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
5 then 5 then
6 echo "pyros-db or pyros weren't running, starting them..." 6 echo "pyros-db or pyros weren't running, starting them..."
7 ./PYROS_DOCKER_START.bat 7 ./PYROS_DOCKER_START.bat
docker/docker-compose.yml
@@ -26,7 +26,7 @@ services: @@ -26,7 +26,7 @@ services:
26 retries: 20 26 retries: 20
27 27
28 redis: 28 redis:
29 - container_name: redis 29 + container_name: pyros-redis
30 image: redis:latest 30 image: redis:latest
31 restart: always 31 restart: always
32 ports: 32 ports: