-
Notifications
You must be signed in to change notification settings - Fork 529
Expand file tree
/
Copy pathdocker-compose-dist.yml
More file actions
40 lines (39 loc) · 1.55 KB
/
docker-compose-dist.yml
File metadata and controls
40 lines (39 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# 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/
#
# Docker Compose for running the DSpace Angular UI dist build
# for previewing with the DSpace Demo site backend
networks:
# Default to using network named 'dspacenet' from docker-compose.yml.
# Its full name will be prepended with the project name (e.g. "-p d7" means it will be named "d7_dspacenet")
dspacenet:
name: ${COMPOSE_PROJECT_NAME}_dspacenet
external: true
services:
dspace-angular:
container_name: dspace-angular
environment:
DSPACE_UI_SSL: ${DSPACE_UI_SSL:-false}
DSPACE_UI_HOST: ${DSPACE_UI_HOST:-dspace-angular}
DSPACE_UI_PORT: ${DSPACE_UI_PORT:-4000}
DSPACE_UI_NAMESPACE: ${DSPACE_UI_NAMESPACE:-/}
DSPACE_UI_BASEURL: ${DSPACE_UI_BASEURL:-http://localhost:4000}
DSPACE_REST_SSL: ${DSPACE_REST_SSL:-false}
DSPACE_REST_HOST: ${DSPACE_REST_HOST:-localhost}
DSPACE_REST_PORT: ${DSPACE_REST_PORT:-8080}
DSPACE_REST_NAMESPACE: ${DSPACE_REST_NAMESPACE:-/server}
# Ensure SSR can use the 'dspace' Docker image directly (see docker-compose-rest.yml)
DSPACE_REST_SSRBASEURL: ${DSPACE_REST_SSRBASEURL:-http://dspace:8080/server}
image: "${DOCKER_REGISTRY:-docker.io}/${DOCKER_OWNER:-dspace}/dspace-angular:${DSPACE_VER:-dspace-7_x}-dist"
build:
context: ..
dockerfile: Dockerfile.dist
networks:
- dspacenet
ports:
- published: 4000
target: 4000