OJS v3 docker environment with required extensions installed for simple deployment purpose
- PHP 8.2
- Custom php.ini
- Apache web server
- Enable mod rewrite
- Enable mod header
- Enable mod SSL
- Expose port 80
- Expose port 443
- Jobs enable. See https://docs.pkp.sfu.ca/admin-guide/en/deploy-jobs
- Pull this image
- Run image and container will download automatically OJS v3
- Create database
- Run installation via URL
- Pull this image
- Restore OJS3 application in document root at
/var/www/html
- Restore
files_dir
at/var/www/ojs-data
- Restore database
- Update configuration
config.inc.php
(if needed)
docker run -p 8080:80 -p 8443:443 --name ojs-apache ojs-apache:latest
ojs3:
image: pizaini/ojs-apache
container_name: ojs3
ports:
- "8443:443"
- "8080:80"
The OJS web and files directory is located by default in
/var/www/html
/var/www/ojs-data