From 3446a84af30f4e7e93a4d05faf8df5f4973b91c2 Mon Sep 17 00:00:00 2001 From: optclblast Date: Tue, 3 Sep 2024 00:48:58 +0300 Subject: [PATCH] tmp --- docker-compose.yaml | 23 ++++++++++++++++++- .../auth_controller/auth_controller.ex | 3 ++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index d295bb4..5f06def 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,5 +9,26 @@ services: ports: - 5432:5432 + minio: + image: quay.io/minio/minio:RELEASE.2024-08-29T01-40-52Z + command: server --console-address ":9001" http://minio/data{1...2} + hostname: minio + volumes: + - data-1:/data1 + - data-2:/data2 + expose: + - "9000" + - "9001" + environment: + MINIO_ROOT_USER: minioadmin + MINIO_ROOT_PASSWORD: minioadmin + healthcheck: + test: ["CMD", "mc", "ready", "local"] + interval: 5s + timeout: 5s + retries: 5 + volumes: - draincore-data: {} \ No newline at end of file + draincore-data: + data-1: + data-2: \ No newline at end of file diff --git a/lib/draincloud_core_web/controllers/auth_controller/auth_controller.ex b/lib/draincloud_core_web/controllers/auth_controller/auth_controller.ex index d2ec239..d040128 100644 --- a/lib/draincloud_core_web/controllers/auth_controller/auth_controller.ex +++ b/lib/draincloud_core_web/controllers/auth_controller/auth_controller.ex @@ -1,7 +1,8 @@ defmodule DrainCloudCoreWeb.AuthController do use DrainCloudCoreWeb, :controller + alias DrainCloudCoreWeb.Request, as: Request def logon(conn, _params) do - + if end end