Skip to content

Commit

Permalink
Take a customized docker-compose-rest.yml which exposes the server on…
Browse files Browse the repository at this point in the history
… /repository/server
  • Loading branch information
milanmajchrak committed Nov 21, 2024
1 parent 4e108e6 commit 5843e54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
working-directory: build-scripts/run/
run: |
./start.sh dspace-$INSTANCE
# use customized docker-compose file for the `85` port because the server is exposed with the namespace `repository`
# `/repository/server`
docker compose --env-file $ENVFILE -p dspace-$INSTANCE -f docker/docker-compose.yml -f docker/docker-compose-rest.yml -f /opt/dspace-envs/5/docker-compose-rest.yml up -d --no-build
deploy-8:
if: inputs.INSTANCE == '*' || inputs.INSTANCE == '8'
Expand Down
1 change: 0 additions & 1 deletion docker/docker-compose-rest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ services:
# (e.g. /dspace/webapps/server -> /dspace/webapps/repository#server)
- |
while (!</dev/tcp/dspacedb/543${INSTANCE}) > /dev/null 2>&1; do sleep 1; done;
`pushd ../webapps && unlink server && ln -s /dspace/webapps/server/ 'repository#server' && popd`
/dspace/bin/dspace database migrate force
custom_run.sh
/dspace/bin/start-handle-server
Expand Down

0 comments on commit 5843e54

Please sign in to comment.