all repos — homestead @ d614fae693f08070a1fc628f9475975ef59b04bb

Code for my website

pass config file via fly/docker instead of embedding in image

Alan Pearce
commit

d614fae693f08070a1fc628f9475975ef59b04bb

parent

f8b009dda349bcfffb930be4e73269d8a3b71204

2 files changed, 4 insertions(+), 1 deletion(-)

jump to
M fly.tomlfly.toml
@@ -14,6 +14,10 @@ PORT = "80"
REDIRECT_OTHER_HOSTNAMES = "true" BASE_URL = "https://alanpearce.eu" + [[files]] + guest_path = "/config.toml" + local_path = "config.toml" + [metrics] port = 9091 path = "/metrics"
M nix/default.nixnix/default.nix
@@ -11,7 +11,6 @@ pkgs.dockerTools.${type} {
name = "registry.fly.io/alanpearce-eu"; tag = fullSHA; contents = [ - (pkgs.writeTextDir "config.toml" (builtins.readFile ./../config.toml)) website ]; config = {