-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.build.yml
48 lines (47 loc) · 1.7 KB
/
docker-compose.build.yml
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
41
42
43
44
45
46
47
48
version: "3.9"
services:
mssql-init:
image: ${REGISTRY}${COMPOSE_PROJECT_NAME}-xm1-mssql-init:${VERSION:-latest}
build:
context: ./docker/build/mssql-init
args:
PARENT_IMAGE: ${SITECORE_DOCKER_REGISTRY}sitecore-xm1-mssql-init:${SITECORE_VERSION}
HEADLESS_SERVICES_IMAGE: ${HEADLESS_SERVICES_IMAGE}
SPE_IMAGE: ${SPE_IMAGE}
id:
image: ${REGISTRY}${COMPOSE_PROJECT_NAME}-id7:${VERSION:-latest}
build:
context: ./docker/build/id
args:
PARENT_IMAGE: ${SITECORE_DOCKER_REGISTRY}sitecore-id7:${SITECORE_VERSION}
cm:
image: ${REGISTRY}${COMPOSE_PROJECT_NAME}-xm1-cm:${VERSION:-latest}
build:
context: ./docker/build/cm
args:
PARENT_IMAGE: ${SITECORE_DOCKER_REGISTRY}sitecore-xm1-cm:${SITECORE_VERSION}
TOOLS_IMAGE: ${REGISTRY}${COMPOSE_PROJECT_NAME}-tools-assets:${VERSION}
MANAGEMENT_SERVICES_IMAGE: ${MANAGEMENT_SERVICES_IMAGE}
HEADLESS_SERVICES_IMAGE: ${HEADLESS_SERVICES_IMAGE}
SPE_IMAGE: ${SPE_IMAGE}
SXA_IMAGE: ${SXA_IMAGE}
rendering:
image: ${REGISTRY}${COMPOSE_PROJECT_NAME}-rendering:${VERSION:-latest}
build:
context: ./docker/build/rendering
target: ${BUILD_CONFIGURATION}
args:
PARENT_IMAGE: ${REGISTRY}${COMPOSE_PROJECT_NAME}-nodejs:${VERSION:-latest}
nodejs:
image: ${REGISTRY}${COMPOSE_PROJECT_NAME}-nodejs:${VERSION:-latest}
build:
context: ./docker/build/nodejs
args:
PARENT_IMAGE: ${NODEJS_PARENT_IMAGE}
NODEJS_VERSION: ${NODEJS_VERSION}
tools:
image: ${REGISTRY}${COMPOSE_PROJECT_NAME}-tools-assets:${VERSION}
build:
context: ./docker/build/tools
args:
BASE_IMAGE: ${TOOLS_IMAGE}