Note: This guide was written before the renaming. Just replace HackMD
with CodiMD
in your mind
Learn More β
First of all you need to setup Minio itself.
Please refer to the official Minio docs for an production setup.
For checking it out and development purposes a non-persistent setup is enough:
Please notice this is not for productive use as all your data gets lost when you stop this container
Next step is to get the credentials form the container:
Open http://localhost:9000 and login with the shown credentials.
Create a bucket for HackMD
Add a policy for the prefix uploads
and make it read-only.
Open policy editor
Add policy for uploads
Set credentials and configs for Minio in HackMD's config.json
You have to use different values for endpoint
and port
for a production
setup. Keep in mind the endpoint
-address has to be public accessible from
your browser.
Set bucket name
Set upload type.
Review your config.
CodiMD
Docs