fix(puter): add database engine config (sqlite)
Puter requires services.database.engine in config.json. When the config file is auto-generated it includes this, but our custom config was missing it, causing: 'Must specify engine for service database' and cascade failure of all services depending on the DB.
This commit is contained in:
@@ -42,7 +42,13 @@ cat <<EOF >/etc/puter/config.json
|
|||||||
"config_name": "proxmox",
|
"config_name": "proxmox",
|
||||||
"domain": "${LOCAL_IP}",
|
"domain": "${LOCAL_IP}",
|
||||||
"http_port": 4100,
|
"http_port": 4100,
|
||||||
"experimental_no_subdomain": true
|
"experimental_no_subdomain": true,
|
||||||
|
"services": {
|
||||||
|
"database": {
|
||||||
|
"engine": "sqlite",
|
||||||
|
"path": "puter-database.sqlite"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Configured Application"
|
msg_ok "Configured Application"
|
||||||
|
|||||||
Reference in New Issue
Block a user