From 2a6b4f2940c4ae2d0579960bdb6ec5147ad033df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Dvo=C5=99=C3=A1k?= Date: Thu, 25 Sep 2025 23:24:23 +0200 Subject: [PATCH] fix --- nixpacks.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nixpacks.toml diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..64b3c27 --- /dev/null +++ b/nixpacks.toml @@ -0,0 +1,17 @@ +# Nixpacks configuration for Go app +# Builds the binary and runs it. Your app listens on :7053 in main.go. +# In Coolify, set Build Pack to Nixpacks and expose port 7053. + +[phases.setup] +# Use a modern Go toolchain. Adjust if needed. +nixPkgs = ["go_1_22"] + +[phases.build] +cmds = [ + "go mod download", + "go build -o app ." +] + +[start] +# Your app binds to :7053 (hardcoded). Ensure Coolify maps to 7053. +cmd = "./app"