-
Notifications
You must be signed in to change notification settings - Fork 31
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
Docker for local development #31
base: main
Are you sure you want to change the base?
Conversation
This looks basically perfect, thanks so much @lostfocus! |
`./docker/build.sh` builds the containers without starting them | ||
`./docker/down.sh` shuts down the containers | ||
|
||
You will still have to manually install Compass within these containers. When creating the `.env` file, the values are as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this file need to be created? And how?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scroll up a bit. ;) First paragraph under "Setup"
In the compass directory, copy .env.example to .env and fill in the details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, this does no longer work – Dockerfile buildscript can't install debian software anymore |
I haven't tried the setup for this project in quite some time, but I use a similar one with a more modern PHP version in other projects without any problem. At which point does it stop and what is the error message? |
There were some warnings along the way so together with the final error it is:
So it does not even get to the phase where it builds the extensions. However if I change php image to |
I've thrown some docker config files and a few lines of readme together for local development after reading #30
I really hope nobody thinks this would be ready for public deployment but it works fine as a development setup.