Dockerised Open Journal Systems
1.1K
Open Journal Systems (OJS) is a journal management and publishing system that has been developed by the Public Knowledge Project through its federally funded efforts to expand and improve access to research.
Check out its creators and its official website.
Available options to quickly run your instance of OJS service.
For this method you'll need to have docker-compose installed on you system. Check here how to install docker-compose.
Steps:
docker-compose up.Then your service will be available on http://localhost:8181/.
# docker-compose.yml
version: "3.6"
services:
ojs:
image: arturluizbr/pkp-ojs:latest
ports:
- 8181:80
environment:
- PKP_DATABASE_DRIVER=mysqli
- PKP_DATABASE_HOST=mysql
- PKP_DATABASE_USERNAME=ojs
- PKP_DATABASE_PASSWORD=ojs
- PKP_DATABASE_NAME=ojs
mysql:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
environment:
- MYSQL_DATABASE=ojs
- MYSQL_USER=ojs
- MYSQL_PASSWORD=ojs
- MYSQL_ROOT_PASSWORD=root
volumes:
db_data:
Basically all variables inside config.inc.php can be override with its enviroment verion.
Check the full lisk of environment variables and their description here.
TODO
TODO
Warning: THIS PROCEDURE WAS NOT TESTED
Steps:
docker-compose up -d --force-recreate);docker-compose exec ojs bash);php -c $PHP_INI_DIR tools/upgrade.php upgrade);To use your custom version of OJS, update the following ARGs when buiding this image.
Steps:
docker build --build-arg repo_url=[YOUR-REPO] --build-arg tag_name=[YOUR_TAG_OR_BRANCH] -t user/ojs:latest .);docker-compose.yml file and build the image using docker-compose build.Content type
Image
Digest
Size
164.9 MB
Last updated
over 7 years ago
docker pull stadlerpeter/docker-pkp-ojs