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

Makefile small refact

This commit is contained in:
Grigory Efimov 2023-05-01 12:03:42 +03:00
parent 0f3fed82dd
commit 516abb22e9

View file

@ -1,8 +1,6 @@
.DEFAULT_GOAL := start
SHELL=/bin/bash
start: generate_etc
docker compose up --force-recreate --build --detach
generate_etc:
install -d \
tmp/etc/any-sync-node-{1..3}/ \
@ -15,6 +13,9 @@ generate_etc:
cat etc/{network,common,coordinator}.yml > tmp/etc/any-sync-coordinator/config.yml
cat etc/network.yml | grep -v '^network:' > tmp/etc/any-sync-coordinator/network.yml
start: generate_etc
docker compose up --force-recreate --build --detach
stop:
docker compose stop