From e6a26441254b49e1b670ebd96d4b05efd4189c71 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 22 Jun 2023 15:14:33 -0700 Subject: [PATCH] docker: default to monolithic mode Otherwise, if you try to use the api-server before db migrations have happened, you'll get the very helpful (sarcasm) error when running `attic`: Error: InternalServerError: The server encountered an internal error or misconfiguration. With this corresponding error from `atticd`: Database error: Query Error: error returned from database: relation "cache" does not exist --- flake.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/flake.nix b/flake.nix index 7b4c67b..e61aa68 100644 --- a/flake.nix +++ b/flake.nix @@ -100,7 +100,6 @@ ]; config = { Entrypoint = [ "${packages.attic-server}/bin/atticd" ]; - Cmd = [ "--mode" "api-server" ]; Env = [ "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ];