Skip to content

Commit 9225a67

Browse files
committed
default VM_IP to my VM
1 parent cc21450 commit 9225a67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • 12-deploying-containers/docker-swarm

12-deploying-containers/docker-swarm/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ compose-down:
1414
docker compose -f docker-compose-prod.yml down
1515

1616
### DOCKER SWARM
17-
18-
DOCKER_HOST:="ssh://ubuntu@212.2.244.152"
17+
VM_IP?=212.2.244.152
18+
DOCKER_HOST:="ssh://ubuntu@${VM_IP}"
1919

2020
.PHONY: swarm-init
2121
swarm-init:

0 commit comments

Comments
 (0)