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
Just sharing the Dockerfile i've made for testing OJS #484
Comments
I think this is a great idea to make OJS easy to use for newcomers. Are you aware of any other activities in this area? @asmecher Are there plans to provide an "offical" Dockerfile for OJS? |
Hi @nuest! I'm not aware of any Docker work yet, but we do have a Vagrant configuration: I'll pass this around the team and see what they think. Meanwhile, I'll leave this open. Thanks for contributing! |
Sorry, hi also to @arturluizbr, and sorry if we missed this entry before @nuest's comment. |
Thanks for the feedback and the pointer to the Vagrant configuration. My plan is to build upon @arturluizbr 's Dockerfiles and the Vagrant configuration to build a docker image that downloads a numbered release (instead of the source) and uses a second docker container for the MySQL database and the files directory. I am working on this on the side, but I'll report back as soon as I have something working ... or not working :-). |
I've got OJS https://github.com/nuest/docker-pkp-ojs (see Some bumps still, started a discussion in the forum: http://forum.pkp.sfu.ca/t/creating-a-docker-image-to-easily-run-and-deploy-ojs-room-to-improve/8535 |
Linking this old entry to some more recent discussion: https://forum.pkp.sfu.ca/t/docker4ojs-a-set-of-docker-images-for-ojs |
I will share mine, which relies on Postgres instead of MySQL; the configuration file is bind mounted.
It would be better to have an intermediate build step, not to bring development dependencies in the final image of course. I could have used the Docker composer image, but that is based on Alpine while the final image is not, so it would not be a good idea to just copy the compiled libraries. It could be better not to rely entirely on Docker "official" images in the first places actually; I was hoping to keep it simple. |
I'm working on a project to apply a personalized template to OJS, so I've made this image to simply run OJS on a Docker container.
It uses master branch of OJS repo (there is a tag for my forked OJS aswell), initializes git submodules and downloads composer dependencies (I was stuck here so much time :'( )
And there is no instructions yet, so you need to check library/php (apache tag) docker image for some reference.
GitHub
https://github.com/arturluizbr/docker-pkp-ojs
Docker Hub
https://registry.hub.docker.com/u/arturluizbr/pkp-ojs/dockerfile/
The text was updated successfully, but these errors were encountered: