Difference between revisions of "Cloud Connection"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* 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. | * 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: | [[File:Container_manager.png|frameless|721x721px]] | ||
*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. | *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: | [[File:Docker_Repository.png|frameless|719x719px]] | ||
* Deploy the image by giving it a '''name''' and selecting '''auto-restart''' and click '''Next'''. | * Deploy the image by giving it a '''name''' and selecting '''auto-restart''' and click '''Next'''. | ||
[[File: | [[File:Container_name.png|frameless|709x709px]] | ||
*The container will use both ports 9000 and 9090 (TCP). Define that under '''Port Settings'''. | *The container will use both ports 9000 and 9090 (TCP). Define that under '''Port Settings'''. | ||
[[File:Container-ports.png| | [[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> | * 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]] | |||
[[File:Container-volume.png| | |||
*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]) | *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| | [[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> | *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| | [[File:Container-exec.png|frameless|636x636px]] | ||
*That was all of the required settings. Your '''Summary''' page should look like this. | *That was all of the required settings. Your '''Summary''' page should look like this. | ||
[[File:Container-summary.png| | [[File:Container-summary.png|frameless|725x725px]] | ||
*You now have a MinIO S3 server. Verify it is running by selecting '''Container''' and checking the status. | *You now have a MinIO S3 server. Verify it is running by selecting '''Container''' and checking the status. | ||
Line 29: | Line 24: | ||
* 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. | * 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| | [[File:Minio-server.png|frameless|692x692px]] | ||
* Enter the configured '''username''' and '''password''' to access the Object Store web page. | * Enter the configured '''username''' and '''password''' to access the Object Store web page. | ||
[[File:Minio-overview.png| | [[File:Minio-overview.png|frameless|663x663px]] | ||
* Choose '''Create a Bucket''' and enter the desired bucket name and click '''Create Bucket'''. | * Choose '''Create a Bucket''' and enter the desired bucket name and click '''Create Bucket'''. | ||
[[File:Minio-bucket.png| | [[File:Minio-bucket.png|frameless|668x668px]] |
Revision as of 21:37, 15 November 2023
Set Up an S3 Server on Synology NAS
Installing Container Manager and MinIO Server
- See list of Synology Applied Models for Container Manager (Docker). If your model is supported navigate to the Package Center and install Container Manager (Docker) app.
- Open the Container Manager app and navigate to Registry. Search for
minio
and select minio/minio. Double click minio/minio and choose the latest build and download container image.
- Deploy the image by giving it a name and selecting auto-restart and click Next.
- The container will use both ports 9000 and 9090 (TCP). Define that under Port Settings.
- Create a folder with some name in the
/docker
shared folder, or your own/minio
root shared folder and mount that under Volume Settings as/data
- Add two new Environment variables MINIO_ROOT_USER and MINIO_ROOT_PASSWORD to set the
root
user credentials. NOTE: The password and username will be logged, you should generate a long random string for this (further reading)
- 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:
minio server /data --console-address ":9090"
- That was all of the required settings. Your Summary page should look like this.
- 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.
192.168.0.30:9090
) to access the Minio Object Store web page.
- Enter the configured username and password to access the Object Store web page.
- Choose Create a Bucket and enter the desired bucket name and click Create Bucket.