-
Notifications
You must be signed in to change notification settings - Fork 30
Configuration
Warning
The .env file is generated automatically. It is based on the .env.common file, which is overridden or extended by variables from the .env.override file.
By default, we use "prod" image version for any-sync-* daemons. Also you can use "stage1" or "latest" verions:
# for use stage1 version
ln -F -s .env.override.stage1 .env.override
# for use latest version
ln -F -s .env.override.latest .env.override
# restart after changes
make restart
By default, we use only the listen address 127.0.0.1, which is sufficient for running tests and a local client. If you need to connect external clients, please add "EXTERNAL_LISTEN_HOSTS" in .env.override file. Use spaces separation, multiline is not supported. For example:
EXTERNAL_LISTEN_HOSTS=<yourExternalIp1> <yourExternalIp2 ...
restart after changes
# restart after changes
make restart
to change the file storage directory, you need to add the parameter STORAGE_DIR
to the .env.override file
echo "STORAGE_DIR=/path/to/your/directory" >> .env.override
make start
if you have already run the self-hosted server, you need to transfer the files beforehand:
make stop
echo "STORAGE_DIR=/path/to/your/directory" >> .env.override
mv ./storage /path/to/your/directory
make start
Thank you for your desire to develop Anytype together!
❤️ This project and everyone involved in it is governed by the Code of Conduct.
🧑<200d>💻 Check out our contributing guide to learn about asking questions, creating issues, or submitting pull requests.
🫢 For security findings, please email security@anytype.io and refer to our security guide for more information.
🤝 Follow us on Github and join the Contributors Community.
Made by Any — a Swiss association 🇨 🇭
Licensed under MIT.