Difference between revisions of "Cloud Connection"

From wiki.fine.cz
Jump to navigation Jump to search
(Replaced content with "== Set Up an S3 Server on Synology NAS == Set Up an S3 Server on Synology NAS")
Line 1: Line 1:
== Set Up an S3 Server on Synology NAS ==
== Set Up an S3 Server on Synology NAS ==


=== Installing '''Container Manager''' and MinIO Server ===
[[Set Up an S3 Server on Synology NAS]]
 
* See list of [https://www.synology.com/en-uk/dsm/packages/ContainerManager Synology Applied Models] for '''Container Manager (Docker)'''. If your model is supported navigate to the Package Center and install '''Container Manager (Docker)''' app.
[[File:Container_manager.png|frameless|915x915px]]
*Open the '''Container Manager''' app and navigate to '''Registry'''. Search for <code>minio</code> and select '''minio/minio'''. Double click '''minio/minio''' and choose the '''latest''' build and download container image.
[[File:Docker_Repository.png|frameless|903x903px]]
* Deploy the image by giving it a '''name''' and selecting '''auto-restart''' and click '''Next'''.
[[File:Container_name.png|frameless|896x896px]]
*The container will use both ports 9000 and 9090 (TCP). Define that under '''Port Settings'''.
[[File:Container-ports.png|frameless|706x706px]]
* Create a '''folder''' with some name in the <code>/docker</code> shared folder, or your own <code>/minio</code> root shared folder and mount that under '''Volume Settings''' as <code>/data</code>
[[File:Container-volume.png|frameless|683x683px]]
*Add two new '''Environment''' variables  '''MINIO_ROOT_USER''' and '''MINIO_ROOT_PASSWORD''' to set the <code>root</code> user credentials.  NOTE: The password and username will be logged, you should generate a long random string for this ([https://min.io/docs/minio/linux/administration/identity-access-management/minio-user-management.html#minio-root-user further reading])
[[File:Container-env.png|frameless|569x569px]]
*You ''have'' to have the '''Execution Command''' configured to actually get it to run the Minio server. Otherwise the container just exists. Set the execution command to:  <code>minio server /data --console-address ":9090"</code>
[[File:Container-exec.png|frameless|636x636px]]
*That was all of the required settings. Your '''Summary''' page should look like this.
[[File:Container-summary.png|frameless|906x906px]]
*You now have a MinIO S3 server. Verify it is running by selecting '''Container''' and checking the status.
 
=== Creating a Bucket ===
 
* Open a Browser and type in your '''NAS IP''' along with '''9090''' as the port (e.g. <code>192.168.0.30:9090</code>) to access the Minio Object Store web page.
[[File:Minio-server.png|frameless|870x870px]]
* Enter the configured '''username''' and '''password''' to access the Object Store web page.
[[File:Minio-overview.png|frameless|879x879px]]
* Choose '''Create a Bucket''' and enter the desired bucket name and click '''Create Bucket'''.
[[File:Minio-bucket.png|frameless|888x888px]]

Revision as of 14:45, 2 April 2024

Set Up an S3 Server on Synology NAS

Set Up an S3 Server on Synology NAS