I’m trying to deploy passbolt containers as a service in a AWS ECS cluster (with EFS for volume mounts).
The documentation says to create a admin user with cake cli once the container is started. And follow the url in the stdout of the terminal to create the user.
$ docker exec passbolt su -m -c "/var/www/passbolt/bin/cake \ passbolt register_user \ -u <firstname.lastname@example.org> \ -f <yourname> \ -l <surname> \ -r admin" -s /bin/sh www-data
Is there a way I can automate this via ENV variables or database commands so that I can deploy this as a service in AWS ECS cluster ?