1
0
Fork 0
home-applications/Makefile

19 lines
741 B
Makefile
Raw Permalink Normal View History

2017-12-05 11:10:07 -05:00
deploy: validate files
2017-07-05 21:03:25 -04:00
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"
2017-12-05 11:10:07 -05:00
files:
scp ./nginx.tmpl 192.168.1.20:/home/atomaka
ssh 192.168.1.20 "sudo mv /home/atomaka/nginx.tmpl /mnt/data/docker/nginx/templates/"
scp ./nginx.template.conf 192.168.1.20:/home/atomaka
ssh 192.168.1.20 "sudo mv /home/atomaka/nginx.template.conf /mnt/data/docker/haproxy/"
2018-06-01 10:02:40 -04:00
scp ./nginx.template.conf 192.168.1.20:/home/atomaka
ssh 192.168.1.20 "sudo mv /home/atomaka/nginx.template.conf /mnt/data/docker/hadashboardproxy/"
2017-12-05 11:10:07 -05:00
network:
ssh 192.168.1.20 "docker network create nginx-proxy"
2017-07-05 21:03:25 -04:00
validate:
docker-compose config > /dev/null