mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-25 21:03:43 +08:00
init minio
This commit is contained in:
@@ -27,9 +27,18 @@ spring:
|
||||
enabled: true
|
||||
locations: classpath:db/migration
|
||||
default-schema: ${DATABASE_DEFAULT_SCHEMA}
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 1MB
|
||||
max-request-size: 10MB
|
||||
springdoc:
|
||||
swagger-ui:
|
||||
path: /swagger-ui.html
|
||||
jwt:
|
||||
secret: ${JWT_SECRET:secret}
|
||||
expiration-min: ${JWT_EXPIRATION_MIN:100}
|
||||
minio:
|
||||
endpoint: ${MINIO_ENDPOINT}
|
||||
access-key: ${MINIO_ROOT_USER}
|
||||
secret-key: ${MINIO_ROOT_PASSWORD}
|
||||
default-bucket: ${MINIO_DEFAULT_BUCKETS}
|
||||
@@ -3,6 +3,7 @@ CREATE SCHEMA IF NOT EXISTS mjga;
|
||||
CREATE TABLE mjga.user (
|
||||
id BIGSERIAL PRIMARY KEY,
|
||||
username VARCHAR NOT NULL UNIQUE,
|
||||
avatar VARCHAR,
|
||||
create_time TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
password VARCHAR NOT NULL,
|
||||
enable BOOLEAN NOT NULL DEFAULT TRUE
|
||||
|
||||
Reference in New Issue
Block a user