fix(homepage): force hosts to resolve widgets
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-03-07 00:04:39 -05:00
parent 8a55c6506d
commit 7c7962a941

View file

@ -2,11 +2,7 @@
inherit (config.arion) toYAML; inherit (config.arion) toYAML;
inherit (config.sops) secrets; inherit (config.sops) secrets;
in { in {
# FIXME: Try to get homepage to resolve lan.nelim.org arion.projects."homepage"."homepage" = {
#systemd.services."arion-homepage".after = ["tailscaled.service"];
arion.projects."homepage" = {
"homepage" = {
image = ./images/homepage.nix; image = ./images/homepage.nix;
restart = "always"; restart = "always";
@ -14,6 +10,8 @@ in {
"3020:3000" "3020:3000"
]; ];
extra_hosts = ["lan.nelim.org=10.0.0.130"];
env_file = [secrets.homepage.path]; env_file = [secrets.homepage.path];
volumes = let volumes = let
@ -57,5 +55,4 @@ in {
"${widgets}:/app/config/widgets.yaml:ro" "${widgets}:/app/config/widgets.yaml:ro"
]; ];
}; };
};
} }