fix your spotify or soemthing
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user