Don't set the backend
This commit is contained in:
parent
af2a46c0c7
commit
1ed0377294
|
@ -356,39 +356,36 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
arion = {
|
arion.projects.lemmy.settings = let
|
||||||
backend = "podman-socket";
|
lemmyImage = makeLemmyImage {
|
||||||
projects.lemmy.settings = let
|
port = cfg.port;
|
||||||
lemmyImage = makeLemmyImage {
|
stateDirectory = cfg.state-directory;
|
||||||
port = cfg.port;
|
proxyCfg = {
|
||||||
stateDirectory = cfg.state-directory;
|
image = "nginx:1-alpine";
|
||||||
proxyCfg = {
|
configFile = hostSecrets.lemmyNginxCfg.target-file;
|
||||||
image = "nginx:1-alpine";
|
|
||||||
configFile = hostSecrets.lemmyNginxCfg.target-file;
|
|
||||||
};
|
|
||||||
lemmyCfg = {
|
|
||||||
image = cfg.docker-images.lemmy;
|
|
||||||
configFile = hostSecrets.lemmyCfg.target-file;
|
|
||||||
envFile = hostSecrets.lemmyEnv.target-file;
|
|
||||||
};
|
|
||||||
lemmyUiCfg = {
|
|
||||||
image = cfg.docker-images.lemmy-ui;
|
|
||||||
envFile = hostSecrets.lemmyUiEnv.target-file;
|
|
||||||
};
|
|
||||||
pictrsCfg = {
|
|
||||||
image = cfg.docker-images.pictrs;
|
|
||||||
envFile = hostSecrets.lemmyPictrsEnv.target-file;
|
|
||||||
uid = config.users.users.lemmy-pictrs.uid;
|
|
||||||
};
|
|
||||||
postgresCfg = {
|
|
||||||
image = cfg.docker-images.postgres;
|
|
||||||
envFile = hostSecrets.lemmyPostgresEnv.target-file;
|
|
||||||
configFile = hostSecrets.lemmyPostgresCfg.target-file;
|
|
||||||
uid = config.users.users.lemmy-postgres.uid;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
in { imports = [ lemmyImage ]; };
|
lemmyCfg = {
|
||||||
};
|
image = cfg.docker-images.lemmy;
|
||||||
|
configFile = hostSecrets.lemmyCfg.target-file;
|
||||||
|
envFile = hostSecrets.lemmyEnv.target-file;
|
||||||
|
};
|
||||||
|
lemmyUiCfg = {
|
||||||
|
image = cfg.docker-images.lemmy-ui;
|
||||||
|
envFile = hostSecrets.lemmyUiEnv.target-file;
|
||||||
|
};
|
||||||
|
pictrsCfg = {
|
||||||
|
image = cfg.docker-images.pictrs;
|
||||||
|
envFile = hostSecrets.lemmyPictrsEnv.target-file;
|
||||||
|
uid = config.users.users.lemmy-pictrs.uid;
|
||||||
|
};
|
||||||
|
postgresCfg = {
|
||||||
|
image = cfg.docker-images.postgres;
|
||||||
|
envFile = hostSecrets.lemmyPostgresEnv.target-file;
|
||||||
|
configFile = hostSecrets.lemmyPostgresCfg.target-file;
|
||||||
|
uid = config.users.users.lemmy-postgres.uid;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in { imports = [ lemmyImage ]; };
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
|
|
Loading…
Reference in New Issue