Configuration
Server secrets and rotation
deeploy generates secure server secrets automatically on first install.
Server Secrets
JWT_SECRETENCRYPTION_KEY
The install script generates both automatically on first install and writes them to /opt/deeploy/.env.
You normally do not need to touch them.
Important
- Change
ENCRYPTION_KEYonly before you store real data. - If you change
ENCRYPTION_KEYlater, previously encrypted values in the database cannot be decrypted. - Changing
JWT_SECRETlogs out existing sessions (users must log in again).
If You Must Change Secrets
- SSH to your server.
- Open
/opt/deeploy/.env. - Replace the secret(s).
- Restart the stack:
cd /opt/deeploy docker compose up -d --force-recreate - Verify login and app behavior.