user should be string, not list

This commit is contained in:
niten 2023-07-22 11:58:05 -07:00
parent 71f82b8ae7
commit 98496b8ac2
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ let
restart = "always"; restart = "always";
volumes = [ "${stateDirectory}/import:/opt/app/import" ]; volumes = [ "${stateDirectory}/import:/opt/app/import" ];
ports = [ "4000:4000" ]; ports = [ "4000:4000" ];
user = [ "${toString teslaMateUid}:${toString teslaMateUid}" ]; user = "${toString teslaMateUid}:${toString teslaMateUid}";
env_file = [ teslaMateEnvFile ]; env_file = [ teslaMateEnvFile ];
cap_drop = "all"; cap_drop = "all";
}; };
@ -35,7 +35,7 @@ let
restart = "always"; restart = "always";
volumes = [ "${stateDirectory}/postgres:/var/lib/postgresql/data" ]; volumes = [ "${stateDirectory}/postgres:/var/lib/postgresql/data" ];
env_file = [ postgresEnvFile ]; env_file = [ postgresEnvFile ];
user = [ "${toString postgresUid}:${toString postgresUid}" ]; user = "${toString postgresUid}:${toString postgresUid}";
}; };
}; };
grafana = { grafana = {
@ -44,7 +44,7 @@ let
restart = "always"; restart = "always";
volumes = [ "${stateDirectory}/grafana:/var/lib/grafana" ]; volumes = [ "${stateDirectory}/grafana:/var/lib/grafana" ];
env_file = [ grafanaEnvFile ]; env_file = [ grafanaEnvFile ];
user = [ "${toString grafanaUid}:${toString grafanaUid}" ]; user = "${toString grafanaUid}:${toString grafanaUid}";
ports = [ "3000:3000" ]; ports = [ "3000:3000" ];
}; };
}; };