Sign inSign up

pizaini/ojs-apache

By pizaini

•Updated 2 months ago

Apache docker image for OJS3

Image
0

3.9K

pizaini/ojs-apache repository overview

⁠PHP + Apache for OJS3 production-ready

OJS v3 docker environment with required extensions installed for simple deployment purpose

⁠Spesifications

  • PHP 7.4
  • Custom php.ini
  • Apache web server
  • Enable mod rewrite
  • Enable mod header
  • Enable mod SSL
  • Expose port 443
  • Document root /var/www/html
  • Files dir /var/www/ojs-data

⁠New installation

  1. Pull this image
  2. Run image and container will download automatically OJS v3
  3. Create database
  4. Run installation via URL

⁠Restore from backup

  1. Pull this image
  2. Restore OJS3 application in document root
  3. Restore files_dir
  4. Restore database
  5. Update configuration config.inc.php (if needed)
  6. Run

⁠Docker run

docker run -p 8443:443 -v ./ojs:/var/www/ojs-data --name ojs-apache ojs-apache:latest

⁠Docker compose

ojs3:
    image: pizaini/ojs-apache
    container_name: ojs3
    ports:
      - "8443:443"
      - "8080:80"

⁠Volumes

Extract and copy to document root (all files in parent directory)

/var/www/html

The OJS files directory is located by default in

/var/www/ojs-data

Tag summary

Content type

Image

Digest

sha256:2f456e35f…

Size

228.7 MB

Last updated

2 months ago

docker pull pizaini/ojs-apache