docker-mautic icon indicating copy to clipboard operation
docker-mautic copied to clipboard

env var to create admin user seems broken in V5

Open AmsellemJoseph opened this issue 1 year ago • 3 comments

Hey, I have an other question,

Is there a way like for the v4 to pass some env var like MAUTIC_ADMIN_EMAIL MAUTIC_ADMIN_USERNAME MAUTIC_ADMIN_PASSWORD

so when we deploying a new instance, the software will be ready to use with the right credentials. I used to use it in the v4 and it was working fine.

Thx a lot

AmsellemJoseph avatar Feb 08 '24 15:02 AmsellemJoseph

@AmsellemJoseph yes, see https://github.com/mautic/docker-mautic?tab=readme-ov-file#configuration-and-customizing

mollux avatar Feb 08 '24 22:02 mollux

@AmsellemJoseph were you able to proceed setting those vars based on the documentation?

mollux avatar Feb 17 '24 16:02 mollux

Hey @mollux , no, but I found a way, i'm harcoding the values in the local.php, and after i'm using the cli with mautic:install

AmsellemJoseph avatar Feb 18 '24 06:02 AmsellemJoseph