-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local setup using no env file #641
Comments
Posting this as i didn't see any work around already posted. I put a dummy .env file as a mount with BLANKFILE inside the file. Allowed me to finish setup. |
I was wondering the same: I'm running this on Kubernetes and it feels weird to mount configuration files.
Does this really work?! :) Anyway I'm loving this app! |
Container is still up and running. So workaround works. Shall see in the next server reboot. |
I can confirm, you have to mount a writable .env file just for initial checks and setup. Afterwards app works without any file mounted. |
I need something like this:
But seems a bit odd, must be better ways to setup the app. |
Did you find a way? If I mount a blank file to the .env path, it gives me an internal server error Note: |
So here is my Docker compose file
|
thanks next time use ``` to create a multiline code ;) |
updated thank you. its still early |
Followed setup located here:
https://www.linkace.org/docs/v1/setup/setup-with-docker/advanced-configuration/
Followed steps in this section on that page:
"Using Docker environment variables instead of the .env file"
Step1: Removed volume mount of file
Step2: Added env variables to compose file
Step3:
Step3a: Done
Step3b: Done
Step3c: Done
Step4: Using MariaDB
Initial launch successful, however
URL: http://myLocalIP:8187/setup/requirements
PHP version >= 7.4.0 : Checkmark
PHP Extension: BCMath : Checkmark
PHP Extension: Ctype : Checkmark
PHP Extension: JSON : Checkmark
PHP Extension: Mbstring : Checkmark
PHP Extension: OpenSSL : Checkmark
PHP Extension: PDO : Checkmark
PHP Extension: Tokenizer : Checkmark
PHP Extension: XML : Checkmark
.env file is present and writable : SadPanda
/storage and /storage/logs directories are writable : Checkmark
Enter the boring stuff:
Is there a env variable to let the app know that we are choosing this option and skip check for file?
The text was updated successfully, but these errors were encountered: