Skip to content

Commit 6ecc72b

Browse files
committed
Use correct psql port
1 parent 5434f4e commit 6ecc72b

1 file changed

Lines changed: 10 additions & 26 deletions

File tree

docker/cli.yml

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,3 @@
1-
#
2-
# The contents of this file are subject to the license and copyright
3-
# detailed in the LICENSE and NOTICE files at the root of the source
4-
# tree and available online at
5-
#
6-
# http://www.dspace.org/license/
7-
#
8-
9-
#
10-
# This is a copy of the docker-compose-cli.yml that is available in the DSpace/DSpace
11-
# (Backend) at:
12-
# https://github.com/DSpace/DSpace/blob/main/docker-compose-cli.yml
13-
#
14-
# Therefore, it should be kept in sync with that file
15-
networks:
16-
# Default to using network named 'dspacenet' from docker-compose-rest.yml.
17-
# Its full name will be prepended with the project name (e.g. "-p d7" means it will be named "d7_dspacenet")
18-
# If COMPOSITE_PROJECT_NAME is missing, default value will be "docker" (name of folder this file is in)
19-
default:
20-
name: ${COMPOSE_PROJECT_NAME:-docker}_dspacenet
21-
external: true
221
services:
232
dspace-cli:
243
image: "${DOCKER_OWNER:-dataquest}/dspace-cli:${DSPACE_VER:-dspace-7_x}"
@@ -35,10 +14,10 @@ services:
3514
dspace__P__ui__P__url: ${UI_URL:-http://127.0.0.1:4000}
3615
dspace__P__name: 'DSpace Started with Docker Compose'
3716
# db.url: Ensure we are using the 'dspacedb' image for our database
38-
db__P__url: 'jdbc:postgresql://dspacedb:543${INSTANCE}/dspace'
17+
db__P__url: 'jdbc:postgresql://dspacedb:${PG_PORT}/dspace'
3918
# solr.server: Ensure we are using the 'dspacesolr' image for Solr
4019

41-
solr__P__server: http://dspacesolr:898${INSTANCE}/solr
20+
solr__P__server: http://dspacesolr:${SOLR_PORT}/solr
4221

4322
# S3
4423
assetstore__P__index__P__primary: ${S3_STORAGE:-0}
@@ -53,14 +32,19 @@ services:
5332
assetstore__P__s3__P__pathStyleAccessEnabled: ${S3_PATH_STYLE_ACCESS:-false}
5433
assetstore__P__s3__P__endpoint: ${S3_ENDPOINT:-}
5534
volumes:
56-
- "assetstore:/dspace/assetstore"
57-
- dspace_cli_logs:/dspace/log
58-
- ./local.cfg:/dspace/config/local.cfg
35+
- "assetstore:/dspace/assetstore"
36+
- dspace_cli_logs:/dspace/log
37+
#- ./local.cfg:/dspace/config/local.cfg
5938
entrypoint: /dspace/bin/dspace
6039
command: help
40+
networks:
41+
- dspacenet
6142
tty: true
6243
stdin_open: true
6344

6445
volumes:
6546
assetstore:
6647
dspace_cli_logs:
48+
49+
networks:
50+
dspacenet:

0 commit comments

Comments
 (0)