mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
refactoring
This commit is contained in:
parent
a843337798
commit
b7da958aed
4 changed files with 8 additions and 16 deletions
6
Makefile
6
Makefile
|
@ -2,10 +2,6 @@
|
||||||
SHELL=/bin/bash
|
SHELL=/bin/bash
|
||||||
|
|
||||||
generate_etc:
|
generate_etc:
|
||||||
$(eval store="s3_store")
|
|
||||||
ifeq ($(INTEGRATION), true)
|
|
||||||
$(eval store="s3_store_dev")
|
|
||||||
endif
|
|
||||||
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/ \
|
||||||
|
@ -13,7 +9,7 @@ endif
|
||||||
cat etc/{network,common,node-1}.yml > tmp/etc/any-sync-node-1/config.yml
|
cat etc/{network,common,node-1}.yml > tmp/etc/any-sync-node-1/config.yml
|
||||||
cat etc/{network,common,node-2}.yml > tmp/etc/any-sync-node-2/config.yml
|
cat etc/{network,common,node-2}.yml > tmp/etc/any-sync-node-2/config.yml
|
||||||
cat etc/{network,common,node-3}.yml > tmp/etc/any-sync-node-3/config.yml
|
cat etc/{network,common,node-3}.yml > tmp/etc/any-sync-node-3/config.yml
|
||||||
cat etc/{network,common,filenode,$(store)}.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
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,13 @@ account:
|
||||||
peerKey: kTZYumPO7MoEsU7ZyeNTLFgYaO3rGFEHk2qXJdqnV9O0DhMk/wdbgkwrbqtIpVH4Bkx7LPEHesTg3DfH4G524g==
|
peerKey: kTZYumPO7MoEsU7ZyeNTLFgYaO3rGFEHk2qXJdqnV9O0DhMk/wdbgkwrbqtIpVH4Bkx7LPEHesTg3DfH4G524g==
|
||||||
signingKey: kTZYumPO7MoEsU7ZyeNTLFgYaO3rGFEHk2qXJdqnV9O0DhMk/wdbgkwrbqtIpVH4Bkx7LPEHesTg3DfH4G524g==
|
signingKey: kTZYumPO7MoEsU7ZyeNTLFgYaO3rGFEHk2qXJdqnV9O0DhMk/wdbgkwrbqtIpVH4Bkx7LPEHesTg3DfH4G524g==
|
||||||
|
|
||||||
|
s3Store:
|
||||||
|
bucket: s3-emulator:4569
|
||||||
|
maxThreads: 16
|
||||||
|
profile: default
|
||||||
|
region: eu-central-1
|
||||||
|
endpoint: http://s3-emulator:4569
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
isCluster: false
|
isCluster: false
|
||||||
url: redis://redis:6379?dial_timeout=3&read_timeout=6s
|
url: redis://redis:6379?dial_timeout=3&read_timeout=6s
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
s3Store:
|
|
||||||
bucket: anytype-dev-filenode
|
|
||||||
maxThreads: 16
|
|
||||||
profile: default
|
|
||||||
region: eu-central-1
|
|
|
@ -1,6 +0,0 @@
|
||||||
s3Store:
|
|
||||||
bucket: s3-emulator:4569
|
|
||||||
maxThreads: 16
|
|
||||||
profile: default
|
|
||||||
region: eu-central-1
|
|
||||||
endpoint: http://s3-emulator:4569
|
|
Loading…
Add table
Add a link
Reference in a new issue