Hi, I’m using ERPNext v15 installed via Docker (frappe_docker) on a VPS. I want to enable Server Scripts but don’t want to break the site again.
My setup:
- ERPNext v15.x / Frappe v15.x
- Installed via
frappe_docker
- Hosted on VPS with SSH access (
root
) - Using
docker-compose
, with containers like:
erpnext-python
,erpnext-redis
,erpnext-nginx
,erpnext-site-creator
, etc.
What I want:
I need to enable Server Scripts (allow_server_script: 1
) and possibly developer_mode
, but I’m not sure where exactly to set it in Docker:
- In
site_config.json
inside the container? - Or in
common_site_config.json
? - Or as env variables in
compose.yaml
?
Previous issue:
Last time I tried editing config manually, the site broke and I had to rebuild everything. I want the correct and safe method for enabling server scripts in Docker.
Request:
- Where to set the configs properly?
- Do I need to restart containers after?
- Safe steps to avoid breaking the site?
Thanks in advance!