Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
docker network create dspacenet

docker volume create pgdataD6

docker run -it --rm -d --network dspacenet -p 5432:5432 --name dspacedbhost  -v pgdataD6:/var/lib/postgresql/data terrywbrady/dspacedb

docker volume create dspaceD6

docker run -it --rm    --network dspacenet -v [dspace-src]${PWD}/dspace/target/dspace-installer:/installer -v c:/installs/dspacedspaceD6:/dspace -w /installer terrywbrady/dspace-docker-ant ant update clean_backups

docker run -it --rm    --network dspacenet -v c:/installs/dspace:/dspace -v c:/installs/dspace/webapps/solr:/usr/local/tomcat/webapps/solr:ro -v c:/installs/dspace/webapps/xmlui:/usr/local/tomcat/webapps/xmlui:ro -p 8080:8080 -e JAVA_OPTS=-Xmx2000m --name dspacetomcat tomcat:8

docker exec -it --detach-keys "ctrl-p" dspacetomcat /bin/bash

docker run -it --rm --network dspacenet postgres psql -U dspace -h dspacedbhost

...