mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
fixing docker_templates
This commit is contained in:
@@ -6,7 +6,7 @@ in
|
|||||||
virtualisation.oci-containers.containers.arch_mirror = {
|
virtualisation.oci-containers.containers.arch_mirror = {
|
||||||
image = "ubuntu/apache2:latest";
|
image = "ubuntu/apache2:latest";
|
||||||
volumes = [
|
volumes = [
|
||||||
"${../../users/richie/global/docker_templates}/file_server/sites/:/etc/apache2/sites-enabled/"
|
"${../common/docker_templates}/file_server/sites/:/etc/apache2/sites-enabled/"
|
||||||
"${vars.media_mirror}:/data"
|
"${vars.media_mirror}:/data"
|
||||||
];
|
];
|
||||||
ports = [ "800:80" ];
|
ports = [ "800:80" ];
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
{ config, ... }:
|
|
||||||
let
|
let
|
||||||
vars = import ../vars.nix;
|
vars = import ../vars.nix;
|
||||||
in
|
in
|
||||||
@@ -14,7 +13,7 @@ in
|
|||||||
dnd_file_server = {
|
dnd_file_server = {
|
||||||
image = "ubuntu/apache2:latest";
|
image = "ubuntu/apache2:latest";
|
||||||
volumes = [
|
volumes = [
|
||||||
"${../../../users/richie/global/docker_templates}/file_server/sites/:/etc/apache2/sites-enabled/"
|
"${../../common/docker_templates}/file_server/sites/:/etc/apache2/sites-enabled/"
|
||||||
"${vars.storage_main}/Table_Top/:/data"
|
"${vars.storage_main}/Table_Top/:/data"
|
||||||
];
|
];
|
||||||
extraOptions = [ "--network=web" ];
|
extraOptions = [ "--network=web" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user