fix your spotify or soemthing

This commit is contained in:
mjallen18
2024-10-04 09:40:22 -05:00
parent e8aeb7c86a
commit 4dee8a28dd
4 changed files with 18 additions and 5 deletions

View File

@@ -11,7 +11,8 @@ in
autoStart = cfg.autoStart;
image = cfg.image;
ports = [ "${cfg.port}:27017" ];
volumes = [ "${cfg.configPath}:/data/db mongodb/" ];
volumes = [ "${cfg.configPath}:/data/db" ];
extraOptions = [ "--network-alias=mongo" ];
# environmentFiles = cfg.environmentFiles;
environment = {
PUID = cfg.puid;

View File

@@ -16,12 +16,12 @@ with lib;
name = mkOption {
type = types.str;
default = "mongodb";
default = "mongo";
};
image = mkOption {
type = types.str;
default = "mongodb/mongodb-community-server";
default = "mongo";
};
configPath = mkOption {