Skip to content
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

Create a Docker image that installs Contenta CMS and Contenta JS #15

Open
e0ipso opened this issue Jul 22, 2018 · 15 comments
Open

Create a Docker image that installs Contenta CMS and Contenta JS #15

e0ipso opened this issue Jul 22, 2018 · 15 comments
Labels
help wanted Extra attention is needed

Comments

@e0ipso
Copy link
Member

e0ipso commented Jul 22, 2018

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

@e0ipso e0ipso added the help wanted Extra attention is needed label Jul 22, 2018
@pcambra
Copy link
Member

pcambra commented Jul 30, 2018

Related https://github.com/contentacms/contenta_docker

@luksak
Copy link

luksak commented Oct 4, 2018

Oh, that would be really nice! Maybe one that is also usable for production?

@mogtofu33
Copy link

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.

@pcambra
Copy link
Member

pcambra commented Oct 19, 2018

Wow that's looking fantastic @mogtofu33, maybe @e0ipso should consider making that one the main contentajs repo :)

@mogtofu33
Copy link

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...

@e0ipso
Copy link
Member Author

e0ipso commented Oct 20, 2018

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?

@mogtofu33
Copy link

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...

@mogtofu33
Copy link

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.

@mogtofu33
Copy link

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).

@mogtofu33
Copy link

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.

@e0ipso
Copy link
Member Author

e0ipso commented Nov 2, 2018

@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!

@mogtofu33
Copy link

mogtofu33 commented Nov 9, 2018

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.

@e0ipso
Copy link
Member Author

e0ipso commented Nov 9, 2018

@mogtofu33 it's OK if you don't have enough energy for it at the moment.

@e0ipso
Copy link
Member Author

e0ipso commented Nov 9, 2018

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?

@serundeputy
Copy link

fwiw i've a simple stack running on Lando for the Contenta CMS part the docker image is just Lando's default drupal8 recipe. contentacms/contenta_jsonapi#233 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants