-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean build fatal error : Uncaught PDOException #6
Comments
You'll need to copy the .env.dist file to .env and populate it with credentials to connect to Postgres. I recommend cloning AspireCloud and using the |
Yes the .env was copied and an empty database + credentials created -- not sure why what was entered in the .env was not being translated to building -> running the docker container. This error was resolved by creating a development.config.php file in code/config with the database connection info there, but obviously the .env file would have been more ideal. I'll try a few more clean repo clones and tests to confirm. |
Let me create a clean build myself and see if I can reproduce. |
Okay, so here's what I think you can do here... I turned the
Make sure you provide an external network that is shared between the database and your dev instance. For example, I use wp-services as my network. You can define an external network by running Let me know if that helps. I'll update the README too. |
Updated the README with instructions on how to set this up. Also, we now have a Docker Compose configuration in |
Doesnt appear that the environment variables are being set or are being parsed correctly
The text was updated successfully, but these errors were encountered: