wger: stay on debug, otherwise weird stuff happens
This commit is contained in:
parent
5da6057228
commit
02b66db30a
1 changed files with 9 additions and 1 deletions
|
@ -18,7 +18,11 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
django_settings = rec {
|
django_settings = rec {
|
||||||
DEBUG = false;
|
# enable debug for now, otherwise it tries
|
||||||
|
# to create a CACHE folder/file in the CWD.
|
||||||
|
# and if I fix that, then static content no
|
||||||
|
# longer wants to load.
|
||||||
|
DEBUG = true;
|
||||||
DATABASES.default = {
|
DATABASES.default = {
|
||||||
ENGINE = "django.db.backends.postgresql";
|
ENGINE = "django.db.backends.postgresql";
|
||||||
NAME = "wger";
|
NAME = "wger";
|
||||||
|
@ -101,6 +105,10 @@ in {
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
EnvironmentFile = config.age.secrets.wger-env.path;
|
EnvironmentFile = config.age.secrets.wger-env.path;
|
||||||
|
|
||||||
|
# ensure it does not try to create `/CACHE`
|
||||||
|
PrivateTmp = "yes";
|
||||||
|
WorkingDirectory = "/tmp";
|
||||||
|
|
||||||
User = "wger";
|
User = "wger";
|
||||||
Group = "wger";
|
Group = "wger";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue