-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
205 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
version: '3.7' | ||
networks: | ||
dspacenet: | ||
services: | ||
dspace-angular: | ||
container_name: dspace-angular | ||
environment: | ||
DSPACE_HOST: dspace-angular | ||
DSPACE_NAMESPACE: / | ||
DSPACE_PORT: '3000' | ||
DSPACE_REST_HOST: dspace | ||
DSPACE_REST_NAMESPACE: / | ||
DSPACE_REST_PORT: '8080' | ||
DSPACE_REST_SSL: "false" | ||
DSPACE_SSL: "false" | ||
image: dspace/dspace-angular:latest | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
networks: | ||
dspacenet: {} | ||
ports: | ||
- published: 3000 | ||
target: 3000 | ||
- published: 9876 | ||
target: 9876 | ||
stdin_open: true | ||
tty: true | ||
volumes: | ||
- ./docker/environment.dev.js:/app/config/environment.dev.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: "3.7" | ||
|
||
networks: | ||
dspacenet: | ||
|
||
services: | ||
dspace-cli: | ||
networks: | ||
dspacenet: {} | ||
environment: | ||
- LOADASSETS=https://www.dropbox.com/s/zv7lj8j2lp3egjs/assetstore.tar.gz?dl=1 | ||
entrypoint: | ||
- /bin/bash | ||
- '-c' | ||
- | | ||
if [ ! -z $${LOADASSETS} ] | ||
then | ||
curl $${LOADASSETS} -L -s --output /tmp/assetstore.tar.gz | ||
cd /dspace | ||
tar xvfz /tmp/assetstore.tar.gz | ||
fi | ||
/dspace/bin/dspace index-discovery | ||
/dspace/bin/dspace oai import | ||
/dspace/bin/dspace oai clean-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: "3.7" | ||
|
||
services: | ||
dspace-cli: | ||
image: "${DOCKER_OWNER:-dspace}/dspace-cli:${DSPACE_VER:-dspace-7_x}" | ||
container_name: dspace-cli | ||
#environment: | ||
volumes: | ||
- "assetstore:/dspace/assetstore" | ||
- "./local.cfg:/dspace/config/local.cfg" | ||
entrypoint: /dspace/bin/dspace | ||
command: help | ||
networks: | ||
- dspacenet | ||
tty: true | ||
stdin_open: true | ||
|
||
volumes: | ||
assetstore: | ||
|
||
networks: | ||
dspacenet: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
networks: | ||
dspacenet: {} | ||
services: | ||
dspace: | ||
container_name: dspace | ||
depends_on: | ||
- dspacedb | ||
image: dspace/dspace:dspace-7_x-jdk8-test | ||
networks: | ||
dspacenet: {} | ||
ports: | ||
- published: 8080 | ||
target: 8080 | ||
stdin_open: true | ||
tty: true | ||
volumes: | ||
- assetstore:/dspace/assetstore | ||
- ./local.cfg:/dspace/config/local.cfg | ||
dspacedb: | ||
container_name: dspacedb | ||
image: dspace/dspace-postgres-pgcrypto | ||
networks: | ||
dspacenet: {} | ||
stdin_open: true | ||
tty: true | ||
volumes: | ||
- pgdata:/pgdata | ||
dspacesolr: | ||
container_name: dspacesolr | ||
image: dspace/dspace-solr | ||
networks: | ||
dspacenet: {} | ||
ports: | ||
- published: 8983 | ||
target: 8983 | ||
stdin_open: true | ||
tty: true | ||
volumes: | ||
- solr_authority:/opt/solr/server/solr/authority/data | ||
- solr_oai:/opt/solr/server/solr/oai/data | ||
- solr_search:/opt/solr/server/solr/search/data | ||
- solr_statistics:/opt/solr/server/solr/statistics/data | ||
version: '3.7' | ||
volumes: | ||
assetstore: {} | ||
pgdata: {} | ||
solr_authority: {} | ||
solr_oai: {} | ||
solr_search: {} | ||
solr_statistics: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
networks: | ||
dspacenet: {} | ||
services: | ||
dspace: | ||
container_name: dspace | ||
depends_on: | ||
- dspacedb | ||
image: dspace/dspace:dspace-7_x-jdk8-test | ||
networks: | ||
dspacenet: {} | ||
ports: | ||
- published: 8080 | ||
target: 8080 | ||
stdin_open: true | ||
tty: true | ||
volumes: | ||
- assetstore:/dspace/assetstore | ||
- ./local.cfg:/dspace/config/local.cfg | ||
dspacedb: | ||
container_name: dspacedb | ||
environment: | ||
LOADSQL: https://www.dropbox.com/s/xh3ack0vg0922p2/configurable-entities-2019-05-08.sql?dl=1 | ||
PGDATA: /pgdata | ||
image: dspace/dspace-postgres-pgcrypto:loadsql | ||
networks: | ||
dspacenet: {} | ||
stdin_open: true | ||
tty: true | ||
volumes: | ||
- pgdata:/pgdata | ||
dspacesolr: | ||
container_name: dspacesolr | ||
image: dspace/dspace-solr | ||
networks: | ||
dspacenet: {} | ||
ports: | ||
- published: 8983 | ||
target: 8983 | ||
stdin_open: true | ||
tty: true | ||
volumes: | ||
- solr_authority:/opt/solr/server/solr/authority/data | ||
- solr_oai:/opt/solr/server/solr/oai/data | ||
- solr_search:/opt/solr/server/solr/search/data | ||
- solr_statistics:/opt/solr/server/solr/statistics/data | ||
version: '3.7' | ||
volumes: | ||
assetstore: {} | ||
pgdata: {} | ||
solr_authority: {} | ||
solr_oai: {} | ||
solr_search: {} | ||
solr_statistics: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* The contents of this file are subject to the license and copyright | ||
* detailed in the LICENSE and NOTICE files at the root of the source | ||
* tree and available online at | ||
* | ||
* http://www.dspace.org/license/ | ||
*/ | ||
module.exports = { | ||
rest: { | ||
ssl: false, | ||
host: 'localhost', | ||
port: 8080, | ||
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript | ||
nameSpace: '/server/api' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dspace.dir=/dspace | ||
db.url=jdbc:postgresql://dspacedb:5432/dspace | ||
dspace.hostname=dspace | ||
dspace.baseUrl=http://localhost:8080 | ||
dspace.name=DSpace Started with Docker Compose | ||
solr.server=http://dspacesolr:8983/solr |