Skip to content

Commit

Permalink
release(all): gatekeeper v0.7.0 serving WorkbenchUI at http://localho…
Browse files Browse the repository at this point in the history
…st/ and API at http://localhost/api/v0.7
  • Loading branch information
Martin Hecher committed Jul 15, 2015
1 parent a013a1c commit 62f25d6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
8 changes: 4 additions & 4 deletions etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ server {
#charset koi8-r;
#access_log /var/log/nginx/log/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
#location / {
# root /usr/share/nginx/html;
# index index.html index.htm;
#}

#error_page 404 /404.html;

Expand Down
3 changes: 2 additions & 1 deletion etc/nginx/sites-available/duraark-platform-api.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
location /duraark/ {
location / {
proxy_pass http://workbench-ui-v0.7.0:4200/;
#proxy_pass http://juliet.cgv.tugraz.at:443;
}

location /api/v0.7/sessions/ {
Expand Down
11 changes: 9 additions & 2 deletions start-service.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#!/bin/sh
docker rm -f api-gatekeeper
docker run --name api-gatekeeper -d -p 8080:80 local/api-gatekeeper
docker rm -f api-gatekeeper-v0.7.0

docker run -d -p 80:80 --name api-gatekeeper-v0.7.0 \
--link workbench-ui-v0.7.0:workbench-ui-v0.7.0 \
--link microservice-sessions-v0.7.0:microservice-sessions-v0.7.0 \
--link microservice-metadata-extraction-v0.7.0:microservice-metadata-extraction-v0.7.0 \
--link microservice-sda-v0.7.0:microservice-sda-v0.7.0 \
--link microservice-sipgenerator-v0.7.0:microservice-sipgenerator-v0.7.0 \
local/api-gatekeeper

0 comments on commit 62f25d6

Please sign in to comment.