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:
parent
516abb22e9
commit
cc3eb0d33f
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -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/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue