Installing EPrints using Docker

From EPrints Documentation
Revision as of 08:52, 29 April 2021 by Drn@ecs.soton.ac.uk (talk | contribs) (Updated Docker instructions)
Jump to: navigation, search

Simple EPrints 3.4 Docker Setup

You will need both Docker and Docker Compose to make use of EPrints' Docker configurations, if you install Docker Desktop you get both of these.

Download either [EPrints 3.4.1 https://files.eprints.org/2416/] or {EPrints 3.4 GitHub HEAD https://files.eprints.org/2454/] Docker configuration tarball from https://files.eprints.org.

Either of Docker configurations will set up two containers, one for EPrints' database (MySQL) and the other for EPrints' webserver (Apache).

Edit docker-compose.yml and set EPRINTS_HOSTNAME to the name of your host machine, localhost is the default and fine if you end to access this EPrints instance locally.

Disable any services on your computer that may be binding to TCP port 80, as this will be needed by EPrints' webserver Docker container.

An EPrints publications installation will be available via http://yourhost once set up. You can login to this using the following credentials:

User: admin
Password: admin123

= Useful Commands

  • To build and start
$ docker-compose up --build -d
  • For a normal start (i.e. when the containers have been previously built)
$ docker-compose up -d
  • To shut down
$ docker-compose down

Known Issues