Skip to content

Instantly share code, notes, and snippets.

@stefanpejcic
Created April 25, 2025 18:28
Show Gist options
  • Save stefanpejcic/5d91180b76d2bf717561b468c890571d to your computer and use it in GitHub Desktop.
Save stefanpejcic/5d91180b76d2bf717561b468c890571d to your computer and use it in GitHub Desktop.
Properly enable demo mode for OpenPanel
# enable demo
opencli config update demo_mode on
# disaable dev
opencli config update dev_mode off
# purge all redis cache so dev_mode value is instantly active and any sensitive data removed
docker exec -it openpanel_redis redis-cli FLUSHALL
# restart user and admin panels
docker --context=default restart openpanel
service admin restart
# enable auto updates
opencli config update autopatch on
opencli config update autoupdate on
# limit ssh access
# edit all volumes to read-only in compose files
# clean all logs and bash history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment