1
0
Fork 0
mirror of https://github.com/anyproto/any-sync-dockercompose.git synced 2025-06-08 14:07:02 +09:00

Makefile: added "pull", "upgrade" and edited update

This commit is contained in:
Kirill 2023-05-01 12:23:04 +03:00 committed by Grigory Efimov
parent 2739d7f659
commit cf9d9b4ac2

View file

@ -14,7 +14,7 @@ generate_etc:
cat etc/network.yml | grep -v '^network:' > tmp/etc/any-sync-coordinator/network.yml cat etc/network.yml | grep -v '^network:' > tmp/etc/any-sync-coordinator/network.yml
start: generate_etc start: generate_etc
docker compose up --force-recreate --build --detach docker compose up --force-recreate --build --remove-orphans --detach
stop: stop:
docker compose stop docker compose stop
@ -22,8 +22,12 @@ stop:
clean: clean:
docker system prune --all docker system prune --all
pull:
docker compose pull
restart: stop start restart: stop start
update: stop clean start update: stop pull start
upgrade: stop clean start
cleanTmp: cleanTmp:
rm -rf tmp/ rm -rf tmp/