diff --git a/docker/PYROS_DOCKER_START.bat b/docker/PYROS_DOCKER_START.bat index d053fdb..371a1f6 100755 --- a/docker/PYROS_DOCKER_START.bat +++ b/docker/PYROS_DOCKER_START.bat @@ -1,3 +1,4 @@ -export CURRENT_UID=$(id -u) +set CURRENT_UID=1001 +set COMPUTER_HOSTNAME=%COMPUTERNAME% docker-compose down --remove-orphans docker-compose up -d diff --git a/docker/PYROS_DOCKER_START.sh b/docker/PYROS_DOCKER_START.sh new file mode 100755 index 0000000..0745c73 --- /dev/null +++ b/docker/PYROS_DOCKER_START.sh @@ -0,0 +1,4 @@ +export CURRENT_UID=$(id -u) +export COMPUTER_HOSTNAME=$HOSTNAME +docker-compose down --remove-orphans +docker-compose up -d diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index d1483a1..f44ea54 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -45,6 +45,7 @@ services: context: .. #filename: Dockerfile container_name: pyros + hostname: ${COMPUTER_HOSTNAME} # tty is the -t option in docker exec tty: true # stdin_open is the -i option in docker exec -- libgit2 0.21.2