1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00

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
This commit is contained in:
Cole Helbling 2023-06-22 15:14:33 -07:00
parent 4fedffe6a1
commit e6a2644125

View file

@ -100,7 +100,6 @@
]; ];
config = { config = {
Entrypoint = [ "${packages.attic-server}/bin/atticd" ]; Entrypoint = [ "${packages.attic-server}/bin/atticd" ];
Cmd = [ "--mode" "api-server" ];
Env = [ Env = [
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
]; ];