1
0
Fork 0
home-applications/Makefile
2017-07-05 21:35:10 -04:00

7 lines
238 B
Makefile

deploy: validate
scp ./*.env 192.168.1.20:/home/atomaka/docker
scp ./docker-compose.yml 192.168.1.20:/home/atomaka/docker
ssh 192.168.1.20 "cd /home/atomaka/docker && docker-compose up -d"
validate:
docker-compose config > /dev/null