From e29149ae9b0cd31f38beb38b0f4ea4e1599f4d93 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 28 Jun 2024 16:54:42 +0200 Subject: use socket passing also for TLS --- justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'justfile') diff --git a/justfile b/justfile index f799c1b..aab1b65 100755 --- a/justfile +++ b/justfile @@ -2,6 +2,9 @@ #!nix-shell -i "just --justfile" docker_registry := "registry.fly.io/alanpearce-eu" +listen_address := env_var_or_default("LISTEN_ADDRESS", "::1") +tls_port := env_var_or_default("TLS_PORT", "8443") +port := env_var_or_default("PORT", "8080") default: @just --list --justfile {{ justfile() }} --unsorted @@ -24,7 +27,7 @@ build: go run ./cmd/build dev: - modd + systemfd -s https::{{ listen_address }}:{{ tls_port }} -s http::{{ listen_address }}:{{ port }} -- modd ci: build check-links -- cgit 1.4.1