{"id":21191338,"url":"https://github.com/hasanisaeed/minio-nginx-docker","last_synced_at":"2025-07-10T03:30:29.399Z","repository":{"id":124704597,"uuid":"465225071","full_name":"hasanisaeed/minio-nginx-docker","owner":"hasanisaeed","description":"Configuration  MinIO with Nginx on Docker ","archived":false,"fork":false,"pushed_at":"2023-10-30T05:45:06.000Z","size":24,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-10-30T06:34:35.715Z","etag":null,"topics":["docker","docker-compose","minio","nginx","nginx-configuration","s3","s3-bucket","s3-storage","subdomain"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hasanisaeed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-02T08:47:35.000Z","updated_at":"2023-10-30T05:41:25.000Z","dependencies_parsed_at":"2023-07-19T22:46:39.788Z","dependency_job_id":null,"html_url":"https://github.com/hasanisaeed/minio-nginx-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanisaeed%2Fminio-nginx-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanisaeed%2Fminio-nginx-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanisaeed%2Fminio-nginx-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanisaeed%2Fminio-nginx-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasanisaeed","download_url":"https://codeload.github.com/hasanisaeed/minio-nginx-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225615192,"owners_count":17496942,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","minio","nginx","nginx-configuration","s3","s3-bucket","s3-storage","subdomain"],"created_at":"2024-11-20T19:02:28.492Z","updated_at":"2024-11-20T19:02:28.596Z","avatar_url":"https://github.com/hasanisaeed.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Configuration MinIO with Nginx on Docker \n\n### First of all clone this repository\n\nAfter cloning:\n\n```bash\ncd minio-nginx-docker/\n```\n\n--------------\n\n## Initial Config 🦜\n### Step 1:  minio user\nCreate `minio` user with:\n    \n    sudo useradd minio\n    \n\nThen add a password for the `minio` user by using the `passwd` command:\n    \n    sudo passwd minio\n    \n### Step 2: Create shared folder\nMake minIO directory and change owner to `minio` user:\n    \n    sudo mkdir -p /usr/local/share/minio\n    sudo chown -R minio:minio /usr/local/share/minio\n    \n\n## Docker 🐳\n### Step 3: Create docker container:\nCreate docker container with:\n    \n    docker-compose up -d --build\n    \n    \n\u003e This command create your `s3` container. Check it with `docker ps` command.\n\n\n## Nginx 🔥\n### Step 4: Create subdomain\nOpen `/etc/hosts` file and add your subdomain:\n\n    127.0.0.1       localhost \n    127.0.0.1       s3.localhost # You can rename `s3` with desired name.\n\nSo at `/etc/nginx/sites-enabled/default` edit server_name key as `s3.localhost`.\n\n    ...\n    // add this block at the end of `default` file:\n    server {\n        listen 80;\n        listen [::]:80;\n\n        server_name s3.localhost;\n\n        index index.html;\n\n        location / {\n            proxy_pass http://127.0.0.1:9001/;\n        }\n    }\n\nThen restart nginx:\n    \n    sudo service nginx reload\n    \n\n ## Run MinIO 🏃🏽‍♂️\n Go to your browser and open [s3.localhost](http://s3.localhost).\n\n Username and password is in `.env` file. Login and create your `Buckets`. 🌟\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasanisaeed%2Fminio-nginx-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasanisaeed%2Fminio-nginx-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasanisaeed%2Fminio-nginx-docker/lists"}