-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add compose configuration for development environment #17
Comments
Sorry for the silence Daniel and thanks a lot for the initiative. As far as "master" is now "main" the link is broken but you work is still reachable here: I feel like will need to move to multi-stage before we start a dev image, but you list of ideas is definitively a very good starting point. Two additional tools that I think would be nice to add to this dev image (or stack) are:
Keep talking about this in this thread. |
Additional tooling extracted from PKP dev team channel.
About xdebug, to install it in a Dockerfile (over the php:7.4-apache) we only need two lines:
Jonas details the client side configuration in the dev's channel as follows: As ::1 will try to contact the image itself, I configured the router to assign a static IP to my machine and I've got such settings:
There must be a better way to do it (without passing environment arguments), but I didn't mind about researching 🙂 Then in vscode I just added a setting to map the root folder in docker with my local working folder, this is my config (see the /var/www/html):
|
any update? |
Not sorrry Luís. We are overwhelmed and this is not a priority now. Cheers, |
It would be interesting to have a specific compose configuration for plug-in development.
I've made a first attempt at this during the sprint in Heidelberg earlier this year, but did not get it to work fully: master...nuest:dev_image
So this issue is mostly to make sure others thinking along the same lines may profit from the first steps taken there. IMO the following bits are important:
Alternative things to try out:
The text was updated successfully, but these errors were encountered: