Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Latest commit

 

History

History
84 lines (61 loc) · 1.73 KB

File metadata and controls

84 lines (61 loc) · 1.73 KB

{% include nav.wkshop.html %}

Exercise 3A: Understanding Docker Compose

Understanding the DSpace 6 Configuration

cd
cd DSpace-Docker-Images/docker-compose-files/dspace-compose
docker-compose -p d6 -f docker-compose.yml -f d6.override.yml config

View the containers that will be created

docker-compose -p d6 -f docker-compose.yml -f d6.override.yml config | grep container_name

Output:

    container_name: dspace
    container_name: dspacedb

View the images that will be used

docker-compose -p d6 -f docker-compose.yml -f d6.override.yml config | grep image:

Output:

    image: dspace/dspace:dspace-6_x-jdk8-test
    image: dspace/dspace-postgres-pgcrypto

Understanding the DSpace 7 Configuration

View the containers that will be created

docker-compose -p d7 -f docker-compose.yml -f d7.override.yml config | grep container_name

Output:

    container_name: dspace
    container_name: dspace-angular
    container_name: dspacedb
    container_name: dspacesolr

View the images that will be used

docker-compose -p d7 -f docker-compose.yml -f d7.override.yml config | grep image:

Output:

    image: dspace/dspace:dspace-7_x-jdk8-test
    image: dspace/dspace-angular:latest
    image: dspace/dspace-postgres-pgcrypto
    image: dspace/dspace-solr

Understanding the DSpace 7 Preview Release Configuration

View the images that will be used

docker-compose -p d7 -f docker-compose.yml -f d7.override.yml -f d7.preview.yml config | grep image:

Output:

    image: dspace/dspace:dspace-7.0-preview-1
    image: dspace/dspace-angular:dspace-7.0-preview-1
    image: dspace/dspace-postgres-pgcrypto
    image: dspace/dspace-solr