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