Open e0ipso opened 6 years ago
Oh, that would be really nice! Maybe one that is also usable for production?
Looking for the same feature I started a repo for this:
Code base is not included, ddev provide only infrastructure, it's possible to build an image with ContentCMS and ContentaJS included but I am not sure this is a good idea.
Appreciate any test/feedback on this.
Wow that's looking fantastic @Mogtofu33, maybe @e0ipso should consider making that one the main contentajs repo :)
I have an other more simple version with docker4drupal. It's pretty close except docker4drupal require to be (a bit) more comfortable with docker-compose.
There is an ongoing request with Lando
The docker hype bring a lot of projects for this, to be pragmatic I would say either go with the more starred project or keep things as close as possible to docker-compose.
Currently Portainer seems in good shape and support stack templates. Didn't try yet.
Lando is great but I prefer something closer to docker-compose so you don't have to learn how to use a tool that can disappear...
Wow! @Mogtofu33 that is amazing.
I am collaborating with to get contenta_vue_nuxt
ready for Contenta JS. Maybe we can try to maye that the default for https://github.com/Mogtofu33/contenta-ddev?
Added the contenta_vue_nuxt
but currently it can connect with the Drupal api but ContentaJS api failed, can not figure out why for now...
I updated both stack for last version of contenta_vue_nuxt
But with ddev I have a problem of api request:
With the docker4drupal version it works, only the images failed.
Add a fix for CORS issues with ddev in the documentation, so the stack is working. Only problem to resolve now is ContentaJS urls (entrypoint use drupal urls instead of self) and for the frontend images base url (images loaded from the front itself instead of Drupal).
Project updated, ContentaCMS + ContentaJS + Vue works fine.
Added a simple install.sh
script for Debian/Ubuntu to automate installation.
When this PR images loading on Vue will be fixed.
@Mogtofu33 I'd like to make you a maintainer for this, if you are up to it. Are you in IRC or Drupal Slack to talk about it?
Thanks for your awesome work!
Hi @e0ipso,
We can probably discuss mostly on #drupal-contribute. I have some time now because of a project but not sure for later maintenance.
I added a redis to connect with ContentaJS but it seems nothing is created on redis, need to investigate.
@Mogtofu33 it's OK if you don't have enough energy for it at the moment.
I added a redis to connect with ContentaJS but it seems nothing is created on redis, need to investigate.
I'm assuming you tried https://github.com/contentacms/contentajsRedis?
fwiw i've a simple stack running on Lando for the Contenta CMS part the docker image is just Lando's default drupal8
recipe. https://github.com/contentacms/contenta_jsonapi/issues/233#issuecomment-464039647
Ideally we want a Docker image that is easy to use to get a local installation of Contenta CMS and Contenta JS up and running quickly.
I think we may want to explore the possibility to base our project on https://github.com/drud/ddev