-
Notifications
You must be signed in to change notification settings - Fork 12
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
Make 'we-retail' sample replaceable to dispatcher AMS config from the archetype #19
Comments
Cześć Krystian! How are you replacing the configuration? The easiest way to do it is dispatcher-mount. You can point it at any dispatcher configuration folder coupled with env.sh file (Environmental file present on AMS) and have it working correctly, without need to rebuild the image itself. There are couple other ways to do it as well (https://github.com/adobe/aem-dispatcher-docker#using-your-own-dispatcher-config) Let me know if this works for you. |
The issue appears to be with the archetype's config. |
I've opened an issue on the archetype project for this: |
Once you've removed the block from the config, you can run the dispatcher container against this config using the following command:
Just copy the env.sh file from the repo. |
#19 (comment) Yep, that's exactly what I meant. It would be nice to have it also documented. Thank you @rbotha78 for taking follow-up actions. My intention was to initiate them :) |
@mgoszczynski I am not sure if I am able/want to use it. My case is rather about providing AMS-compatible Dockerfile with code coming from the archetype. My goal is to provide complete automation for AEM with only a few commands. I don't want to introduce too much extra code except the one coming from the archetype. Some references about what I am doing... [1] https://github.com/wttech/aemc#cli---aem-project-quickstart right now I am trying to change [2] to be more looking like the dockerfile available in that repo as I believe it's more working like on AMS ;) |
Expected Behaviour
Dispatcher config generated from archetype could be used easily in built image
or in other words... sample/weretail config could be replacable to dispatcher.ams config from archetype
Actual Behaviour
Such config cannot be easily used. No idea how to supplement missing files.
Context
I want to test the dispatcher config on my dev machine locally and have configuration & runtime as close compatible with AMS-one as it is possible. When I tried to replace we retail config bundled in this repo with the config generated from archetype https://github.com/adobe/aem-project-archetype/tree/develop/src/main/archetype/dispatcher.ams I found out that config has references to /etc/httpd/conf.d/proxy but this configuration is not contained anywhere.
I built your image and check for the existence of a "proxy" dir which is referenced by archetype code:
References:
How about such a case?
It is just surprising that you noted that:
but in fact
dispatcher.ams
config from the archetype cannot be easily used with it.WDYT?
The text was updated successfully, but these errors were encountered: