2020-10-13 18:17:54 -04:00
|
|
|
include .env
|
|
|
|
export
|
2017-07-05 21:03:25 -04:00
|
|
|
|
2020-10-13 18:17:54 -04:00
|
|
|
deploy: validate
|
|
|
|
scp ./*.env $$SERVER_IP:/home/atomaka/docker
|
|
|
|
scp ./.env $$SERVER_IP:/home/atomaka/docker
|
|
|
|
scp ./docker-compose.yml $$SERVER_IP:/home/atomaka/docker
|
|
|
|
ssh $$SERVER_IP "cd /home/atomaka/docker && docker-compose up -d"
|
2017-12-05 11:10:07 -05:00
|
|
|
|
2017-07-05 21:03:25 -04:00
|
|
|
validate:
|
|
|
|
docker-compose config > /dev/null
|