This commit is contained in:
r8zavetr8v 2024-09-03 00:48:58 +03:00
parent a599dd8930
commit 3446a84af3
2 changed files with 24 additions and 2 deletions

View File

@ -9,5 +9,26 @@ services:
ports: ports:
- 5432:5432 - 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: volumes:
draincore-data: {} - 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:
data-1:
data-2:

View File

@ -1,7 +1,8 @@
defmodule DrainCloudCoreWeb.AuthController do defmodule DrainCloudCoreWeb.AuthController do
use DrainCloudCoreWeb, :controller use DrainCloudCoreWeb, :controller
alias DrainCloudCoreWeb.Request, as: Request
def logon(conn, _params) do def logon(conn, _params) do
if
end end
end end