anyproto / any-sync-dockercompose

docker-compose for testing any-sync
MIT License
396 stars 56 forks source link

feat: add fileDevStore for filenode #78

Closed hellodword closed 4 months ago

hellodword commented 5 months ago


Description

See: https://github.com/anyproto/any-sync-filenode/blob/fde668d14358378ee29181e6bd2803269e11b8e7/cmd/store_dev.go#L1

I think it's useful for some self-hosted users and it doesn't bring breaking changes of filenode for previous users by default.

Usage:

echo 'ANY_SYNC_FILENODE_USE_DEV=true' >> .env.override

How do you think?

What type of PR is this? (check all applicable)

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

Added to documentation?

[optional] Are there any post-deployment tasks we need to perform?

socket-security[bot] commented 5 months ago

New dependencies detected. Learn more about Socket for GitHub β†—οΈŽ

Package New capabilities Transitives Size Publisher
pypi/jinja2@3.1.4 environment, eval, filesystem, unsafe 0 921 kB
pypi/pyyaml@6.0.1 environment, eval, filesystem, network 0 3.4 MB ingy, nitzmahone, tinita

View full reportβ†—οΈŽ

fb929 commented 4 months ago

We already have a mechanism for locally building all any-sync-* daemons - https://github.com/anyproto/any-sync-dockercompose/wiki/Local-build

I think it's easier to add "-tags dev" as an additional argument there.