mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
added share container
This commit is contained in:
@@ -31,6 +31,7 @@ frontend ContentSwitching
|
||||
acl host_grafana hdr(host) -i grafana.tmmworkshop.com
|
||||
acl host_homeassistant hdr(host) -i homeassistant.tmmworkshop.com
|
||||
acl host_photoprism hdr(host) -i photoprism.tmmworkshop.com
|
||||
acl host_share hdr(host) -i share.tmmworkshop.com
|
||||
acl host_uptime_kuma hdr(host) -i uptimekuma-jeeves.tmmworkshop.com
|
||||
|
||||
use_backend audiobookshelf_nodes if host_audiobookshelf
|
||||
@@ -39,6 +40,7 @@ frontend ContentSwitching
|
||||
use_backend grafana_nodes if host_grafana
|
||||
use_backend homeassistant_nodes if host_homeassistant
|
||||
use_backend photoprism_nodes if host_photoprism
|
||||
use_backend share_nodes if host_share
|
||||
use_backend uptime_kuma_nodes if host_uptime_kuma
|
||||
|
||||
backend audiobookshelf_nodes
|
||||
@@ -65,6 +67,10 @@ backend photoprism_nodes
|
||||
mode http
|
||||
server server photoprism:2342
|
||||
|
||||
backend share_nodes
|
||||
mode http
|
||||
server server share:80
|
||||
|
||||
backend uptime_kuma_nodes
|
||||
mode http
|
||||
server server uptime_kuma:3001
|
||||
|
||||
14
systems/jeeves/docker/share.nix
Normal file
14
systems/jeeves/docker/share.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user