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 {
|
||||
|
||||
@@ -13,6 +13,7 @@ in
|
||||
image = cfg.imageServer;
|
||||
volumes = [ "${cfg.configPath}:/root/.your-spotify" ];
|
||||
ports = [ "${cfg.portServer}:8080" ];
|
||||
dependsOn = [ "mongo" ];
|
||||
environment = {
|
||||
PUID = cfg.puid;
|
||||
PGID = cfg.pgid;
|
||||
@@ -21,6 +22,7 @@ in
|
||||
CLIENT_ENDPOINT = "http://10.0.1.18:${cfg.portWeb}";
|
||||
SPOTIFY_PUBLIC = "e270589d72a6494680a17d325af8670d";
|
||||
SPOTIFY_SECRET = "423cb7b69fe8486e89eccd01e0c22924";
|
||||
MONGO_ENDPOINT = "mongodb://10.0.1.18:27017";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user