Hey, is it recommended to set the _APP_DB_PASS and _APP_EXECUTOR_SECRET vars in production?
Yes, definitely.
Okay, can you think of any other "security" vars that should be set? Other than _APP_ENV, _APP_OPTIONS_ABUSE, _APP_OPTIONS_FORCE_HTTPS, _APP_OPENSSL_KEY_V1, _APP_CONSOLE_WHITELIST_ROOT. Im not using storage.
The database secret and the openssl secret needs to be setup before you start the containers for the first time.
- executor secret and that's it.
yea, its a while since i first started the containers.. however i see you should change the DB user/pass using mariadb and then change in the env. Not sure about how to handle executor secret, since the containers are already running
You could of course change the database secret yourself afterwards. Just wanted to let you know that the db secret is configured the first time the mariadb container is spun up. Regarding the openssl secret it is really hard to change it afterwards since most sensitive data in the database are already encrypted with the initial secret. You can change the executor secret at any time, just restart the container afterwards
seems that its okay to change the executor secret directly in the env and then restart https://discord.com/channels/564160730845151244/1220769895776784424/1220772232159297746
Yes
ah okay. Yea i set the openssl key back before starting the containers for the first time, so im good there. Thanks for your help
[SOLVED] Recommended to set _APP_DB_PASS vars?
Recommended threads
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...