deprecate minio
This commit is contained in:
+24
-21
@@ -119,30 +119,32 @@
|
||||
|
||||
# Fullstack sourcecode
|
||||
|
||||
# Minio for backend storage
|
||||
services.minio-service = {
|
||||
enable = true;
|
||||
|
||||
# Persist (or don't) the data inside of database
|
||||
dataDir = "/var/data/minio";
|
||||
credentialsFile = config.sops.secrets."minio-credentials".path;
|
||||
|
||||
dataPort = 9000; # S3 API access
|
||||
consolePort = 9001; # Admin console access
|
||||
|
||||
bootstrap-minio = {
|
||||
/*
|
||||
MINIO DEPRECATED
|
||||
services.minio-service = {
|
||||
enable = true;
|
||||
environments = [
|
||||
"dev"
|
||||
"prod"
|
||||
];
|
||||
};
|
||||
|
||||
default-nginx = {
|
||||
enable = true;
|
||||
hostname = "imgs.roypository.com";
|
||||
# Persist (or don't) the data inside of database
|
||||
dataDir = "/var/data/minio";
|
||||
credentialsFile = config.sops.secrets."minio-credentials".path;
|
||||
|
||||
dataPort = 9000; # S3 API access
|
||||
consolePort = 9001; # Admin console access
|
||||
|
||||
bootstrap-minio = {
|
||||
enable = true;
|
||||
environments = [
|
||||
"dev"
|
||||
"prod"
|
||||
];
|
||||
};
|
||||
|
||||
default-nginx = {
|
||||
enable = true;
|
||||
hostname = "imgs.roypository.com";
|
||||
};
|
||||
};
|
||||
};
|
||||
*/
|
||||
|
||||
# Postgresql/postgrest for row storage (not on k3s)
|
||||
services.postgresql-db = {
|
||||
@@ -205,6 +207,7 @@
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = meta.hostname;
|
||||
hostId = meta.hostId;
|
||||
|
||||
+2
-3
@@ -29,7 +29,8 @@
|
||||
# It just happens to be stored in the same repository (relative),
|
||||
# but could well be a separate repository
|
||||
nimh-static.url = "path:../homelab-services/nimh-static";
|
||||
minio-service.url = "path:../homelab-services/minio-service";
|
||||
# MINIO IS DEPRECATED, KEEPING CODE FOR REFERENCE. MOVE TO GARAGE/SEAWEEDFS
|
||||
# minio-service.url = "path:../homelab-services/minio-service";
|
||||
mc-service.url = "path:../homelab-services/mc-service";
|
||||
postgresql-db.url = "path:../homelab-services/postgresql-db";
|
||||
};
|
||||
@@ -46,7 +47,6 @@
|
||||
impermanence,
|
||||
firefox-addons,
|
||||
nimh-static,
|
||||
minio-service,
|
||||
mc-service,
|
||||
postgresql-db,
|
||||
}@inputs:
|
||||
@@ -80,7 +80,6 @@
|
||||
quasiSecrets.nixosModules.serviceList
|
||||
impermanence.nixosModules.impermanence
|
||||
nimh-static.nixosModules.nimh-static
|
||||
minio-service.nixosModules.minio-service
|
||||
mc-service.nixosModules.mc-service
|
||||
postgresql-db.nixosModules.postgresql-db
|
||||
home-manager.nixosModules.home-manager
|
||||
|
||||
Reference in New Issue
Block a user