Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
fix: Update Docker Compose example to 7.1.0-M11 (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
igdianov authored Dec 16, 2020
1 parent c1e2e87 commit cd5a4c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-compose/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DOCKER_IP=Your IP is here(not localhost)
VERSION=7.1.0.M5
VERSION=7.1.0-M11
KEYCLOAK_REALM=activiti
KEYCLOAK_RESOURCE=activiti
3 changes: 2 additions & 1 deletion docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ services:
APP_CONFIG_OAUTH2_HOST: "http://${DOCKER_IP}/auth/realms/${KEYCLOAK_REALM}"
APP_CONFIG_OAUTH2_CLIENTID: "${KEYCLOAK_REALM}"
API_URL: "http://${DOCKER_IP}"
BASE_PATH: /modeling/
BASE_PATH: /modeling
SERVER_PORT: 8080
APP_CONFIG_BPM_HOST: "http://${DOCKER_IP}"
APP_CONFIG_OAUTH2_REDIRECT_SILENT_IFRAME_URI: /modeling/assets/silent-refresh.html
APP_CONFIG_OAUTH2_REDIRECT_LOGIN: /modeling
Expand Down
8 changes: 4 additions & 4 deletions docker-compose/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ http {
}
location ~ ^/modeling-service/?(.*)$ {
resolver 127.0.0.11 ipv6=off;
set $upstream activiti-cloud-modeling-backend:8080;
set $upstream activiti-cloud-modeling-backend:8080;

proxy_pass http://$upstream/modeling-service/$1?$args;
proxy_redirect off;
Expand All @@ -88,11 +88,11 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
location ~ ^/modeling/?(.*) {
location ~ ^/modeling {
resolver 127.0.0.11 ipv6=off;
set $upstream activiti-cloud-modeling;
set $upstream activiti-cloud-modeling:8080;

proxy_pass http://$upstream/$1;
proxy_pass http://$upstream;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
Expand Down

0 comments on commit cd5a4c6

Please sign in to comment.