Merge branch 'acs-frontend-community.acs-backend-community' into acs-frontend-community-persist.acs-frontend-community
This commit is contained in:
commit
f46dacad9d
@ -17,6 +17,8 @@ services:
|
|||||||
-Dsolr.host=search
|
-Dsolr.host=search
|
||||||
-Dsolr.port=8983
|
-Dsolr.port=8983
|
||||||
-Dsolr.secureComms=none
|
-Dsolr.secureComms=none
|
||||||
|
-Dshare.host=localhost
|
||||||
|
-Dshare.port=8080
|
||||||
-Dalfresco.host=localhost
|
-Dalfresco.host=localhost
|
||||||
-Dalfresco.port=8080
|
-Dalfresco.port=8080
|
||||||
-Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
|
-Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
|
||||||
@ -46,6 +48,16 @@ services:
|
|||||||
transform-core-aio:
|
transform-core-aio:
|
||||||
image: alfresco/alfresco-transform-core-aio:2.3.6
|
image: alfresco/alfresco-transform-core-aio:2.3.6
|
||||||
|
|
||||||
|
share:
|
||||||
|
image: alfresco/alfresco-share:6.2.2
|
||||||
|
mem_limit: 512m
|
||||||
|
environment:
|
||||||
|
REPO_HOST: "platform"
|
||||||
|
JAVA_OPTS: "
|
||||||
|
-Dalfresco.host=localhost
|
||||||
|
-Dalfresco.port=8080
|
||||||
|
"
|
||||||
|
|
||||||
postgres-acs:
|
postgres-acs:
|
||||||
image: postgres:11.7
|
image: postgres:11.7
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
@ -78,11 +90,12 @@ services:
|
|||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: ./nginx-ingress
|
build: ./nginx-ingress
|
||||||
image: local/nginx-ingress:acs
|
image: local/nginx-ingress:acs-share
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
- platform
|
- platform
|
||||||
|
- share
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
acsbin-volume:
|
acsbin-volume:
|
||||||
|
@ -4,6 +4,10 @@ if [[ $ACS_PLATFORM_URL ]]; then
|
|||||||
sed -i s%http:\/\/platform:8080%"$ACS_PLATFORM_URL"%g /etc/nginx/nginx.conf
|
sed -i s%http:\/\/platform:8080%"$ACS_PLATFORM_URL"%g /etc/nginx/nginx.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $ACS_SHARE_URL ]]; then
|
||||||
|
sed -i s%http:\/\/share:8080%"$ACS_SHARE_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
|
||||||
|
@ -47,5 +47,12 @@ http {
|
|||||||
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||||
absolute_redirect off;
|
absolute_redirect off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /share/ {
|
||||||
|
proxy_pass http://share:8080;
|
||||||
|
|
||||||
|
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||||
|
absolute_redirect off;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user