Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dspace7 Angular
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vtechworks
Dspace7 Angular
Commits
dc47d191
Commit
dc47d191
authored
5 years ago
by
Terry Brady
Browse files
Options
Downloads
Patches
Plain Diff
move all compose files to one dir
parent
a74f256c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docker/README.md
+10
-6
10 additions, 6 deletions
docker/README.md
docker/docker-compose-rest.yml
+2
-0
2 additions, 0 deletions
docker/docker-compose-rest.yml
docker/docker-compose.yml
+3
-3
3 additions, 3 deletions
docker/docker-compose.yml
with
15 additions
and
9 deletions
docker/README.md
+
10
−
6
View file @
dc47d191
# Docker Compose files
##
root
directory
##
docker
directory
-
docker-compose.yml
-
Starts DSpace Angular with Docker Compose from the current branch. This file assumes that a DSpace 7 REST instance will also be started in Docker.
## docker directory
-
docker-compose-rest.yml
-
Runs a published instance of the DSpace 7 REST API - persists data in Docker volumes
-
docker-compose-travis.yml
...
...
@@ -21,18 +19,18 @@
## To refresh / pull DSpace images from Dockerhub
```
docker-compose pull
docker-compose
-f docker/docker-compose.yml
pull
```
## To build DSpace images using code in your branch
```
docker-compose build
docker-compose
-f docker/docker-compose.yml
build
```
## To start DSpace (REST and Angular) from your branch
```
docker-compose -p d7 -f docker/docker-compose
-rest
.yml -f docker-compose.yml
up -d
docker-compose -p d7 -f docker/docker-compose.yml -f
docker/
docker-compose
-rest
.yml up -d
```
## Run DSpace REST and DSpace Angular from local branches.
...
...
@@ -60,6 +58,12 @@ Load content from AIP files
docker-compose -p d7 -f docker/cli.yml -f ./docker/cli.ingest.yml run --rm dspace-cli
```
## Alternative Ingest - Use Entities dataset
_Delete your docker volumes or use a unique project (-p) name_
```
docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml -f docker/db.entities.yml up -d
```
## End to end testing of the rest api (runs in travis).
_In this instance, only the REST api runs in Docker. Travis will perform CI testing of Angular using Node to drive the tests._
...
...
This diff is collapsed.
Click to expand it.
docker/docker-compose-rest.yml
+
2
−
0
View file @
dc47d191
...
...
@@ -26,6 +26,8 @@ services:
dspacedb
:
container_name
:
dspacedb
image
:
dspace/dspace-postgres-pgcrypto
environment
:
PGDATA
:
/pgdata
networks
:
dspacenet
:
stdin_open
:
true
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
→
docker/
docker-compose.yml
+
3
−
3
View file @
dc47d191
...
...
@@ -11,10 +11,10 @@ services:
DSPACE_SSL
:
"
false"
image
:
dspace/dspace-angular:latest
build
:
context
:
.
context
:
.
.
dockerfile
:
Dockerfile
networks
:
dspacenet
:
dspacenet
:
ports
:
-
published
:
3000
target
:
3000
...
...
@@ -23,4 +23,4 @@ services:
stdin_open
:
true
tty
:
true
volumes
:
-
./
docker/
environment.dev.js:/app/config/environment.dev.js
-
./environment.dev.js:/app/config/environment.dev.js
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment