Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec00d1a445 | ||
|
|
5ea48c405f | ||
|
|
0a0cb15580 | ||
|
|
56492a45c8 | ||
|
|
f239550be7 | ||
|
|
e5824d17e1 | ||
|
|
5cd3530ef0 | ||
|
|
b9fb8971dd | ||
|
|
8296a96294 | ||
|
|
4f036e530b | ||
|
|
89626fcd1d |
+7
-1
@@ -25,10 +25,16 @@ services:
|
||||
activemq:
|
||||
image: alfresco/alfresco-activemq:latest
|
||||
|
||||
digital-workspace:
|
||||
image: quay.io/alfresco/alfresco-digital-workspace:latest
|
||||
environment:
|
||||
APP_CONFIG_ECM_HOST: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}"
|
||||
|
||||
proxy:
|
||||
build: ./nginx-ingress
|
||||
image: local/nginx-ingress:acs
|
||||
image: local/nginx-ingress:acs-adw
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
- platform
|
||||
- digital-workspace
|
||||
|
||||
@@ -4,6 +4,10 @@ if [[ $ACS_PLATFORM_URL ]]; then
|
||||
sed -i s%http:\/\/platform:8080%"$ACS_PLATFORM_URL"%g /etc/nginx/nginx.conf
|
||||
fi
|
||||
|
||||
if [[ $ADW_URL ]]; then
|
||||
sed -i s%http:\/\/digital-workspace:8080%"$ADW_URL"%g /etc/nginx/nginx.conf
|
||||
fi
|
||||
|
||||
if [[ $ACCESS_LOG ]]; then
|
||||
sed -i s%\#ENV_ACCESS_LOG%"access_log $ACCESS_LOG;"%g /etc/nginx/nginx.conf
|
||||
fi
|
||||
|
||||
@@ -48,5 +48,12 @@ http {
|
||||
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||
absolute_redirect off;
|
||||
}
|
||||
|
||||
location /workspace/ {
|
||||
proxy_pass http://digital-workspace:8080/;
|
||||
|
||||
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||
absolute_redirect off;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user