Merge remote-tracking branch 'origin/acs-adw-base' into ags-frontend-enterprise
This commit is contained in:
commit
cc4ed62159
@ -138,15 +138,19 @@ services:
|
|||||||
- postgres-acs
|
- postgres-acs
|
||||||
- activemq
|
- activemq
|
||||||
|
|
||||||
|
digital-workspace:
|
||||||
|
image: quay.io/alfresco/alfresco-digital-workspace:latest
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: ./nginx-ingress
|
build: ./nginx-ingress
|
||||||
image: local/nginx-ingress:acs-sync-share
|
image: local/nginx-ingress:acs-sync-share-adw
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
- platform
|
- platform
|
||||||
- share
|
- share
|
||||||
- sync
|
- sync
|
||||||
|
- digital-workspace
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
shared-file-store-volume:
|
shared-file-store-volume:
|
||||||
|
@ -12,6 +12,10 @@ if [[ $ACS_SYNC_URL ]]; then
|
|||||||
sed -i s%http:\/\/sync:9090%"$ACS_SYNC_URL"%g /etc/nginx/nginx.conf
|
sed -i s%http:\/\/sync:9090%"$ACS_SYNC_URL"%g /etc/nginx/nginx.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $ADW_URL ]]; then
|
||||||
|
sed -i s%http:\/\/digital-workspace:8080%"$ADW_URL"%g /etc/nginx/nginx.conf
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $ACCESS_LOG ]]; then
|
if [[ $ACCESS_LOG ]]; then
|
||||||
sed -i s%\#ENV_ACCESS_LOG%"access_log $ACCESS_LOG;"%g /etc/nginx/nginx.conf
|
sed -i s%\#ENV_ACCESS_LOG%"access_log $ACCESS_LOG;"%g /etc/nginx/nginx.conf
|
||||||
fi
|
fi
|
||||||
|
@ -56,6 +56,13 @@ http {
|
|||||||
absolute_redirect off;
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
location /sync/ {
|
location /sync/ {
|
||||||
proxy_pass http://sync:9090/alfresco/;
|
proxy_pass http://sync:9090/alfresco/;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user