postgres
user. Update the configuration with your Postgres credentials by running these commands:
psql
tool. First, start the containers even if initialization fails due to the bad password.
\password
command to set a new password for the postgres
user:
postgres
is not your username, change the command to use your chosen username. If you are not sure what the username is, run the \du
command:\q
quits the psql
console. Set your new password in Ghostwriter’s config, and then bring the containers down and back up.
django
user, not root
. The django
user should own all files under the /app directory.
If you are stuck waiting for Django to start, run this command and check file permission errors: ./ghostwriter-cli logs django
If you see file permission errors, check the user and group permissions for some of the affected files like so:
chown
command that Docker is supposed to run during the build. It must be run as root
. Use Docker Compose’s run
command like the above examples but add -u root
:
ls -la
command shows the proper permissions, and then try restarting the Ghostwriter services: