Compare commits
9 Commits
acs-adw-ba
...
acs-persis
Author | SHA1 | Date | |
---|---|---|---|
f7c664e7f4 | |||
8a7d6d2016 | |||
|
b7c883068a | ||
135739da10 | |||
b81db4fc0f | |||
5beadf9f35 | |||
abaa41345a | |||
2789af0bd7 | |||
8d3c4987f0 |
1
.env
1
.env
@@ -8,4 +8,3 @@ PROXY_PORT=8080
|
||||
ACS_TAG=7.4.1.1
|
||||
AAMQ_TAG=latest
|
||||
POSTGRES_TAG=13
|
||||
ADW_TAG=4.1.0
|
||||
|
@@ -27,23 +27,31 @@ services:
|
||||
depends_on:
|
||||
- postgres-acs
|
||||
- activemq
|
||||
volumes:
|
||||
- acsbin-volume:/usr/local/tomcat/alf_data:rw
|
||||
|
||||
postgres-acs:
|
||||
image: postgres:${POSTGRES_TAG}
|
||||
volumes:
|
||||
- acsdb-volume:/var/lib/postgresql/data:rw
|
||||
|
||||
activemq:
|
||||
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
||||
volumes:
|
||||
- activemq-volume:/opt/activemq/data:rw
|
||||
|
||||
digital-workspace:
|
||||
image: quay.io/alfresco/alfresco-digital-workspace:${ADW_TAG}
|
||||
environment:
|
||||
APP_CONFIG_ECM_HOST: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}"
|
||||
|
||||
proxy:
|
||||
build: ./nginx-ingress
|
||||
image: local/nginx-ingress:acs-adw
|
||||
image: local/nginx-ingress:acs
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
- platform
|
||||
- digital-workspace
|
||||
|
||||
volumes:
|
||||
acsbin-volume:
|
||||
driver: local
|
||||
acsdb-volume:
|
||||
driver: local
|
||||
activemq-volume:
|
||||
driver: local
|
||||
|
@@ -4,10 +4,6 @@ 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,12 +48,5 @@ 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