Nix-Config/system/shared/services/wallabag.nix

22 lines
440 B
Nix
Raw Normal View History

2023-10-09 15:44:13 +00:00
{ config, pkgs, inputs, ... }:
{
2023-10-10 10:39:54 +00:00
virtualisation.oci-containers.backend = "docker";
2023-10-09 15:44:13 +00:00
virtualisation.oci-containers.containers = {
wallabag = {
2023-10-10 10:39:54 +00:00
autoStart = true;
image = "wallabag/wallabag";
2023-10-09 15:44:13 +00:00
environment = {
2023-10-10 10:39:54 +00:00
SYMFONY__ENV__DOMAIN_NAME = "https://wb.tsvallender.co.uk";
2023-10-09 15:44:13 +00:00
};
volumes = [
2023-10-10 10:39:54 +00:00
"wallabag_data:/var/www/wallabag/data"
];
ports = [
"8485:80"
2023-10-09 15:44:13 +00:00
];
};
};
}