-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
50 lines (45 loc) · 1.36 KB
/
docker-compose.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
49
50
version: "3.3"
services:
core:
image: ${REGISTRY:-}${CORE_IMAGE:?Core image is not defined, ensure you run '. ./setEnv.sh'}
hostname: core
domainname: ${DX_DOMAIN:-compose-dx.test}
environment:
- WAS_ADMIN=${WAS_ADMIN:-wpsadmin}
- WAS_PASSWORD=${WAS_PASSWORD:-wpsadmin}
- DX_ADMIN=${DX_ADMIN:-wpsadmin}
- DX_PASSWORD=${DX_PASSWROD:-wpsadmin}
ports:
# Web Port on HTTP + HTTPS
- "10039:10039"
- "10042:10042"
# WAS Console on HTTP + HTTPS
- "10038:10038"
- "10041:10041"
volumes:
- ./core_profile/:/opt/HCL/wp_profile
ring-api:
image: ${REGISTRY:-}${RING_IMAGE:?Core image is not defined, ensure you run setEnv.sh}
hostname: ring-api
domainname: ${DX_DOMAIN:-compose-dx.test}
environment:
- PORTAL_HOST=core
- PORTAL_PORT=10039
- PORTAL_SSL_ENABLED=${PORTAL_SSL_ENABLED:-false}
- CORS_ORIGIN="http://localhost:3000"
ports:
- "3000:3000"
webserver:
image: caddy:2-alpine
hostname: webserver
domainname: ${DX_DOMAIN:-compose-dx.test}
environment:
- DX_SITE_ADDRESS=${DX_SITE_ADDRESS:-localhost}
volumes:
- ./resources/caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- ./resources/caddy/html:/srv:ro
- ./local/caddy/data:/data
- ./local/caddy/config:/config
ports:
- "80:80"
- "443:443"