Created
April 25, 2025 18:28
-
-
Save stefanpejcic/5d91180b76d2bf717561b468c890571d to your computer and use it in GitHub Desktop.
Properly enable demo mode for OpenPanel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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