diff --git a/docker-compose.yml b/docker-compose.yml index 3defc38..ce9d237 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,7 @@ services: image: postgis/postgis:15-3.3 container_name: map-db restart: unless-stopped + shm_size: 2g platform: linux/amd64 # Ensure compatibility on Mac Silicon environment: POSTGRES_USER: ${POSTGRES_USER} diff --git a/scratch/ssh_server2.sh b/scratch/ssh_server2.sh new file mode 100755 index 0000000..f2a14d2 --- /dev/null +++ b/scratch/ssh_server2.sh @@ -0,0 +1,13 @@ +#!/bin/bash +CMD="$@" +expect -c " +set timeout 60 +spawn ssh -o StrictHostKeyChecking=no root@194.163.173.157 \"$CMD\" +expect { + \"*password:*\" { + send \"mehmetDev@2101\r\" + exp_continue + } + eof +} +"