This commit is contained in:
niten 2024-03-23 11:25:37 -07:00
parent b12aeeb09f
commit a13915b47f
1 changed files with 2 additions and 5 deletions

View File

@ -37,7 +37,7 @@ let
networks = [ "internal_network" "external_network" ]; networks = [ "internal_network" "external_network" ];
hostname = "lemmy"; hostname = "lemmy";
env_file = [ lemmyCfg.envFile ]; env_file = [ lemmyCfg.envFile ];
volumes = [ "${lemmyCfg.configFile}:/config/config.hjson:ro" ]; volumes = [ "${lemmyCfg.configFile}:/config/config.hjson:ro,Z" ];
depends_on = { depends_on = {
postgres.condition = "service_healthy"; postgres.condition = "service_healthy";
pictrs.condition = "service_healthy"; pictrs.condition = "service_healthy";
@ -334,10 +334,7 @@ in {
target-file = "/run/lemmy/postgres.env"; target-file = "/run/lemmy/postgres.env";
}; };
lemmyEnv = { lemmyEnv = {
source-file = makeEnvFile { source-file = makeEnvFile { RUST_LOG = "error"; };
RUST_LOG = "error";
RUST_BACKTRACE = "1";
};
target-file = "/run/lemmy/lemmy.env"; target-file = "/run/lemmy/lemmy.env";
}; };
lemmyUiEnv = { lemmyUiEnv = {