Step 5 remote vm path updated

This commit is contained in:
Daljit Singh
2021-02-08 16:59:00 +13:00
parent 0794f19f94
commit 17c6b3bccf
2 changed files with 6 additions and 6 deletions

View File

@ -148,11 +148,11 @@ Next up we need to copy file to gloud vm
export gcp_machine_name=$(gcloud compute instances list --limit=1 --format='value(name.basename())')
# Copy file to vm
gloud compute scp docker-compose.yaml $gcp_machine_name --ssh-key-file ~/.ssh/$USER --strict-host-key-checking=no
gcloud compute scp docker-compose.yaml $gcp_machine_name:/tmp --ssh-key-file ~/.ssh/$USER --strict-host-key-checking=no
# Install gotlan with docker compose
sleep 2
gcloud compute ssh $gcp_machine_name --ssh-key-file ~/.ssh/$USER -- 'sudo docker compose up -d'
#sleep 2
#gcloud compute ssh $gcp_machine_name --ssh-key-file ~/.ssh/$USER -- 'sudo docker compose up -d'
#+end_src