Difference between revisions of "Cloud Connection"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
[[File:Container-volume.png|center|frame]] | [[File:Container-volume.png|center|frame]] | ||
*Add two new '''Environment''' variables '''MINIO_ROOT_USER''' and '''MINIO_ROOT_PASSWORD'''. NOTE: The password and username will be logged, you should generate a long random string for this (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|center|frame]] | |||
*You ''have'' to have the '''execution''' command in here 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 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. |
Revision as of 21:16, 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.
- 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 in here 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"
- 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 9000 as the port (e.g.
10.0.0.30:9000
) to access the Minio Object Store web page. - Enter the default username
minioadmin
and passwordminioadmin
to access the Object Store web page. - Choose Create a Bucket and enter the desired bucket name and click Create Bucket. Copy your bucket name and paste the information into a safe place (e.g., a notes app or word processing document) for later use.