mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
15 lines
345 B
Nix
15 lines
345 B
Nix
let
|
|
vars = import ../vars.nix;
|
|
in
|
|
{
|
|
virtualisation.oci-containers.containers.share = {
|
|
image = "ubuntu/apache2:latest";
|
|
volumes = [
|
|
"${../../../common/docker_templates}/file_server/sites/:/etc/apache2/sites-enabled/"
|
|
"${vars.media_share}:/data"
|
|
];
|
|
extraOptions = [ "--network=web" ];
|
|
autoStart = true;
|
|
};
|
|
}
|