mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
added generate_etc
This commit is contained in:
parent
1b99786123
commit
0df1a16279
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -1,4 +1,7 @@
|
||||||
start:
|
start: generate_etc
|
||||||
|
docker compose up --force-recreate --build --detach
|
||||||
|
|
||||||
|
generate_etc:
|
||||||
install -d \
|
install -d \
|
||||||
tmp/etc/any-sync-node-{1..3}/ \
|
tmp/etc/any-sync-node-{1..3}/ \
|
||||||
tmp/etc/any-sync-filenode/ \
|
tmp/etc/any-sync-filenode/ \
|
||||||
|
@ -9,7 +12,6 @@ start:
|
||||||
cat etc/{network,common,filenode}.yml > tmp/etc/any-sync-filenode/config.yml
|
cat etc/{network,common,filenode}.yml > tmp/etc/any-sync-filenode/config.yml
|
||||||
cat etc/{network,common,coordinator}.yml > tmp/etc/any-sync-coordinator/config.yml
|
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
|
cat etc/network.yml | grep -v '^network:' > tmp/etc/any-sync-coordinator/network.yml
|
||||||
docker compose up --force-recreate --build --detach
|
|
||||||
|
|
||||||
stop:
|
stop:
|
||||||
docker-compose stop
|
docker-compose stop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue