Difference between revisions of "Installing EPrints using Docker"

From EPrints Documentation
Jump to: navigation, search
(Created page with "Simple EPrints 3.4 docker setup. - Justin Bradley, July 2019 Sets up two containers, one for the database, the second for httpd and eprints. Needs Docker and Docker Compose,...")
 
Line 1: Line 1:
 
Simple EPrints 3.4 docker setup.
 
Simple EPrints 3.4 docker setup.
 +
 
- Justin Bradley, July 2019
 
- Justin Bradley, July 2019
 +
  
 
Sets up two containers, one for the database, the second for httpd and eprints.
 
Sets up two containers, one for the database, the second for httpd and eprints.
 +
 
Needs Docker and Docker Compose, if you install Docker Desktop you get both of these.
 
Needs Docker and Docker Compose, if you install Docker Desktop you get both of these.
 +
  
 
Edit docker-compose.yml and set EPRINTS_HOSTNAME to the name of your host machine, localhost is the default and fine if running locally.
 
Edit docker-compose.yml and set EPRINTS_HOSTNAME to the name of your host machine, localhost is the default and fine if running locally.
 +
 
Disable any services binding to port 80, ie apache httpd.
 
Disable any services binding to port 80, ie apache httpd.
 +
 
EPrints publications installation will be available via http://yourhost once set up.
 
EPrints publications installation will be available via http://yourhost once set up.
 +
 
User: admin
 
User: admin
 +
 
Password: admin123
 
Password: admin123
 +
  
 
# build and start
 
# build and start
Line 19: Line 28:
 
# shut down
 
# shut down
 
docker-compose down
 
docker-compose down
 +
  
 
There are a few issues.
 
There are a few issues.
 +
 
- The indexer often fails to start automatically.
 
- The indexer often fails to start automatically.
 +
 
- Some additional perl modules may be required for some import/export libraries.
 
- Some additional perl modules may be required for some import/export libraries.

Revision as of 13:51, 31 July 2019

Simple EPrints 3.4 docker setup.

- Justin Bradley, July 2019


Sets up two containers, one for the database, the second for httpd and eprints.

Needs Docker and Docker Compose, if you install Docker Desktop you get both of these.


Edit docker-compose.yml and set EPRINTS_HOSTNAME to the name of your host machine, localhost is the default and fine if running locally.

Disable any services binding to port 80, ie apache httpd.

EPrints publications installation will be available via http://yourhost once set up.

User: admin

Password: admin123


  1. build and start

docker-compose up --build -d

  1. normal start

docker-compose up -d

  1. shut down

docker-compose down


There are a few issues.

- The indexer often fails to start automatically.

- Some additional perl modules may be required for some import/export libraries.