PYROS_DOCKER_START 737 Bytes
#!/usr/bin/env bash

# We need these variables for the build and when we launch the containers
# But then, we do not need them anymore. Anyway they are referenced in the docker-compose.yml but it does not find them in memory => makes a warning when using the containers...
export CURRENT_UID=$(id -u)
export COMPUTER_HOSTNAME=$HOSTNAME

echo
echo "First STOP just in case:"
docker compose down --remove-orphans

echo
echo "Then START:"
# Take docker-compose.yml folder name ("docker") as containers group name in Docker Desktop by default
docker compose up --no-build -d
# Change this group name with -p option
#docker compose -p pyros-app up -d

# See started containers
echo
echo "Started containers for pyros:"
docker ps | grep pyros