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