airship
airship copied to clipboard
Docker Pgsql Setup
In the future we should improve the Docker setup to disable password less access to the Docker container for all other Docker containers. I don't have a solution for this right now.
Additionally, we should generate a random password for the airship
user (currently uses secret
) and skip the database setup page completely. This also eases the setup even more, as there's one configuration page less.
So, this is how this will have to work.
- Create a random password, store it in
src/tmp/installing.json
. - Also create the installer token.
- Give the user a URL that stores the installer token in their cookie; expect them to use that URL.
@kelunik potentially offtopic but if we want this on Docker Hub how would we accomplish that part?
@co60ca: That's the thing I've always been unsure with. It has to happen at runtime then, but in that case it would already have to have a default password.
We now have tentative support for UNIX sockets, so we should no longer need a password, if I understand correctly.
Also worth looking at: https://github.com/paragonie/airship/blob/master/tools/installer_step_1.php