All Questions
2 questions
1
vote
1
answer
145
views
Bash: what delimiter to use for this string to array conversion to work? (Laravel/dotenv/Sail/Docker Compose)
Laravel Sail should support multiple docker-compose files by configuring them in a dotenv file (.env).
The line in my .env file...
SAIL_FILES='docker-compose.yml:docker-compose-arm.yml'
The part of ...
2
votes
2
answers
3k
views
PHP cannot get the environment variables
I have some environment variables as bash variable and other environment variables into a .env file.
In my php script I load env variable using this
require __DIR__.'/vendor/autoload.php';
use Dotenv\...