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:
parent
4fedffe6a1
commit
e6a2644125
1 changed files with 0 additions and 1 deletions
|
@ -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"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue