From a44c06c4b259967b067f0dc9eb2f0657eb8d641c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20P=C5=82aczek?= Date: Wed, 11 Jun 2025 19:26:21 +0200 Subject: [PATCH] Add docker compose --- .gitignore | 2 ++ README.md | 9 +++++++++ docker-compose.yaml.dist | 16 ++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yaml.dist diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3de1795 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/docker-compose.yaml +.idea \ No newline at end of file diff --git a/README.md b/README.md index e69de29..8fa5144 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,9 @@ +Minio S3 config repo +===== + +### Starting the project + +```bash +cp docker-compose.yaml.dist docker-compose.yaml +docker compose up -d +``` \ No newline at end of file diff --git a/docker-compose.yaml.dist b/docker-compose.yaml.dist new file mode 100644 index 0000000..be80ee0 --- /dev/null +++ b/docker-compose.yaml.dist @@ -0,0 +1,16 @@ +volumes: + minio_data: + +services: + minio: + image: quay.io/minio/minio + container_name: minio + ports: + - "9100:9000" + - "9101:9001" + environment: + MINIO_ROOT_USER: admin + MINIO_ROOT_PASSWORD: password + volumes: + - minio_data:/data + command: server /data --console-address ":9001" \ No newline at end of file