initial commit
All checks were successful
release-tag / release-image (push) Successful in 1m49s

This commit is contained in:
2024-10-15 03:50:35 +00:00
commit 44a0227ab1
12 changed files with 1793 additions and 0 deletions

18
config.ts Normal file
View File

@@ -0,0 +1,18 @@
import 'dotenv/config';
export const config = {
port: process.env.PORT ?? 80,
repo: {
name: 'custom'
},
minio: {
bucket: 'archrepo',
client: {
endPoint: process.env.MINIO_ENDPOINT ?? 'minio.konchin.com',
useSSL: process.env.MINIO_USESSL == 'true',
port: (process.env.MINIO_PORT as unknown as number) ?? 9000,
accessKey: process.env.MINIO_ACCESSKEY ?? '',
secretKey: process.env.MINIO_SECRETKEY ?? '',
}
}
};