From 7689d50d53f2818df498145edf070c974396f973 Mon Sep 17 00:00:00 2001 From: Matheus Mota Date: Sat, 20 Apr 2019 00:04:25 -0300 Subject: [PATCH 1/3] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 888af16..4977669 100644 --- a/README.md +++ b/README.md @@ -1 +1,6 @@ -# harena-cloud \ No newline at end of file +# harena-cloud + +just: +``` +git clone https://github.com/datasci4health/harena-cloud && cd harena-cloud && sudo sh ./setup.sh +``` From 3a999b993f1d444fa649600946408c92030d5f96 Mon Sep 17 00:00:00 2001 From: Matheus Mota Date: Sat, 20 Apr 2019 00:20:57 -0300 Subject: [PATCH 2/3] major update - running case-notebook v1 release --- docker-compose.yaml | 9 --------- setup.sh | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 10989f1..be25e98 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -12,15 +12,6 @@ - 8081:80 - 8881:8888 - case-notebook-latest: - image: datasci4health/case-notebook:latest - - container_name: case-notebook-latest - restart: always - ports: - - 8080:80 - - 8880:8888 - watchtower: image: v2tec/watchtower volumes: diff --git a/setup.sh b/setup.sh index b47a83a..d257002 100644 --- a/setup.sh +++ b/setup.sh @@ -5,6 +5,8 @@ sudo cp ./configs/apache2/000-default.conf /etc/apache2/sites-available/000-defa sudo cp ./configs/apache2/index.html /var/www/index.html sudo systemctl restart apache2 +sudo docker-compose up -d + sudo rm repositories -r mkdir repositories cd repositories From 85fb860c70e9e4e28bb3a7f95e9ee084762ba717 Mon Sep 17 00:00:00 2001 From: Matheus Mota Date: Sat, 20 Apr 2019 00:21:36 -0300 Subject: [PATCH 3/3] apaching case-notebook v1 release --- configs/apache2/000-default.conf | 40 ++++++++++++++++---------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/configs/apache2/000-default.conf b/configs/apache2/000-default.conf index 2a9340b..0f7cba3 100644 --- a/configs/apache2/000-default.conf +++ b/configs/apache2/000-default.conf @@ -9,54 +9,54 @@ ProxyRequests On - - ##################################################### -###### /case-notebook/latest ###### +###### /case-notebook/v1 ###### ##################################################### - Redirect "/case-notebook/latest/web" "/case-notebook/latest/web/" - + Redirect "/case-notebook/v1/web" "/case-notebook/v1/web/" + ProxyPreserveHost on Options +Indexes +FollowSymLinks - ProxyPass http://localhost:8080/ - ProxyPassReverse http://localhost:8080/ + ProxyPass http://localhost:8081/ + ProxyPassReverse http://localhost:8081/ - Redirect "/case-notebook/latest/server" "/case-notebook/latest/server/" - + Redirect "/case-notebook/v1/server" "/case-notebook/v1/server/" + ProxyPreserveHost on Options +Indexes +FollowSymLinks - ProxyPass http://localhost:8880/ - ProxyPassReverse http://localhost:8880/ + ProxyPass http://localhost:8881/ + ProxyPassReverse http://localhost:8881/ + ##################################################### -###### /case-notebook/v1 ###### +###### /case-notebook/latest ###### ##################################################### - Redirect "/case-notebook/v1/web" "/case-notebook/v1/web/" - + Redirect "/case-notebook/latest/web" "/case-notebook/latest/web/" + ProxyPreserveHost on Options +Indexes +FollowSymLinks - ProxyPass http://localhost:8081/ - ProxyPassReverse http://localhost:8081/ + ProxyPass http://localhost:8080/ + ProxyPassReverse http://localhost:8080/ - Redirect "/case-notebook/v1/server" "/case-notebook/v1/server/" - + Redirect "/case-notebook/latest/server" "/case-notebook/latest/server/" + ProxyPreserveHost on Options +Indexes +FollowSymLinks - ProxyPass http://localhost:8881/ - ProxyPassReverse http://localhost:8881/ + ProxyPass http://localhost:8880/ + ProxyPassReverse http://localhost:8880/ + ##################################################### ###### /harena/logger/latest ###### #####################################################