chore: initial commit with Docker + Ansible base
This commit is contained in:
16
Makefile
Normal file
16
Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
.PHONY: deploy setup stop build restart
|
||||
|
||||
setup:
|
||||
ansible-playbook -i ansible/inventory.ini ansible/setup.yml
|
||||
|
||||
deploy:
|
||||
ansible-playbook -i ansible/inventory.ini ansible/deploy.yml
|
||||
|
||||
stop:
|
||||
docker compose down
|
||||
|
||||
build:
|
||||
docker compose build --no-cache
|
||||
|
||||
restart: stop build
|
||||
docker compose up -d
|
||||
Reference in New Issue
Block a user