add more grocy envs variables
This commit is contained in:
parent
7dd402012b
commit
79b4c2f1ff
|
@ -31,8 +31,12 @@
|
|||
cfg = config.services.grocy;
|
||||
in {
|
||||
phpEnv = {
|
||||
GROCY_CONFIG_FILE = "/etc/grocy/config.php";
|
||||
GROCY_DATAPATH = "${cfg.dataDir}";
|
||||
GROCY_CONFIG_FILE = "/etc/grocy/config.php";
|
||||
GROCY_DB_FILE = "${cfg.dataDir}/grocy.db";
|
||||
GROCY_STORAGE_DIR = "${cfg.dataDir}/storage";
|
||||
GROCY_PLUGIN_DIR = "${cfg.dataDir}/plugins";
|
||||
GROCY_CACHE_DIR = "${cfg.dataDir}/viewcache";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue