Mattias Michaux
Mattias Michaux
@AmsellemJoseph can you share your solution so we can see if it's generic enough to add it to the readme?
@devilmind81 could you retry with Mysql instead of MariaDB to rule out it's related to the database (and the supported env vars?
@devilmind81 that's really strange. Can you provide following information? * Docker compose version by executing `docker compose version` * if you have `jq` installed, the outcome of the command `docker...
@devilmind81 is this **without** adding the extra lines? so your `docker-compose.yml` file still looks like this? ``` ... mautic_web: image: mautic/mautic:5-apache links: - db:mysql ports: - 8001:80 volumes: *mautic-volumes environment:...
@devilmind81 that's really strange. It makes sense to have a separate network (I'll add such solution the the examples), but that should not influence loading the env vars. Would you...
@devilmind81 You're most likely using `docker-compose` (v1) instead of `docker compose` (v2) Can you retry using `docker compose`?
@mchojrin thanks for the report. I think it's related on how the db connection details are stored in your `config.php` file. does it look like this? ```
@mchojrin no I'm talking about `/config/local.php`, not `/docroot/app/config/config.php` Can you check `/config/local.php`? If you're using the default examples, that config file is volume mapped to a local folder.
@mchojrin @audacioustux @thisismzm This is most likely related to missing env vars. Can you try the changes in PR https://github.com/mautic/docker-mautic/pull/263? That should solve the issue
thanks for the feedback, I'll merge the referenced PR