git-subtree-dir: old-conf git-subtree-mainline:4667974392git-subtree-split:62a64a79a8
17 lines
454 B
Nix
17 lines
454 B
Nix
{ pkgs, config, ... }: {
|
|
ragon.agenix.secrets.picardSharenoteEnv = { };
|
|
virtualisation.oci-containers.containers."sharenote" = {
|
|
image = "ghcr.io/thexyno/sharenote-py:latest";
|
|
environmentFiles = [
|
|
config.age.secrets.picardSharenoteEnv.path
|
|
];
|
|
ports = [
|
|
"127.0.0.1:8086:8086"
|
|
];
|
|
volumes = [
|
|
"/var/lib/sharenote:/sharenote-py/static"
|
|
];
|
|
};
|
|
ragon.persist.extraDirectories = ["/var/lib/sharenote"];
|
|
|
|
}
|