-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
How to start instance in fg? #64
Comments
@cekk It's indeed a challenge as as after you figure out the command you'll notice it will fail with some undefined env variables: Here is a demo working docker-compose.yml for eea.facetednavigation with the required environment variables: And the command you'll need to run within the container: |
damn, I started to put these ENV var manually but i didn't knew if it was the right way to do it. Ok, with your example it works ;) thanks. It could be nice to have these infos in the documentation, right? Or is it just temporary? |
Yes, we should add it to the docs. Also, it would be nice to have better defaults for those env variables in order not to care about them. But I'm not sure if zope.conf support it https://github.com/plone/plone-backend/blob/5.2.x/skeleton/etc/zope.conf @ericof ^ |
Another thing: how to pin versions? i see VERSIONS env is missing and i don't see any way to use a custom requirements/constraints file. |
@cekk You can always extend this image with something like:
|
right..sorry for dumb questions, but I finally have some time to play with it |
I think we can close this. |
Is there a way to run this image in fg to debug addons?
I'm developing an add-on with plone-backend image and i need to put some pdb into its code but i don't know how to start the instance in fg.
I tried to bypass the entrypoint with command=bash but after that i don't know which script run and how.
Am i missing something or this isn't available yet? If not, how do you develop with plone6/pip?
The text was updated successfully, but these errors were encountered: