T
Twenty4mo ago
2rad

Error: APP_SECRET is not set

I'm getting the pictured error whenever I attempt to start up my docker compose install of Twenty. I did in fact set the APP_SECRET in the .env file, and I tried every combination I could think of in the compose file between keeping it as provided in the example file, pasting the same secret into the yaml, and setting it to APP_SECRET: ${APP_SECRET}. None of the above seems to have any effect. I'm using docker desktop on windows 11.
No description
1 Reply
2rad
2radOP4mo ago
Doing a bit of troubleshooting, I'm wondering if it's because my compose file is on my D drive but it may be assuming bind mount paths are referencing folders on my C drive. I might have to look into how to specify drive letter if it doesn't assume the root of the current drive It was something with file paths at least - I think I had them formatted wrong. I pasted in the exact unaltered example code and it worked. Problem solved, I'm just going to set this up to use bind mounts and its own named db and redis containers now that I've confirmed it runs as expected - I guess I'm just rusty on docker compose syntax

Did you find this page helpful?