registry login

This commit is contained in:
2021-05-23 21:26:10 +00:00
parent 802578bd82
commit 088d30eaf3
2 changed files with 2 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
#/bin/bash
export REGISTRY="docker.triton2.fet.at"
docker login $REGISTRY
# build a small nginx image to handle routing of /dev and other services
docker build --no-cache -f dockerfiles/Dockerfile.nginx -t $REGISTRY/dev_nginx:latest .

View File

@@ -20,17 +20,7 @@ server {
}
# location /etherpad {
# rewrite /etherpad/(.*) /$1 break;
# rewrite ^/etherpad$ /etherpad/ permanent;
# proxy_pass http://$etherpad:9001;
# proxy_redirect / /etherpad/;
# proxy_set_header Host $host;
# proxy_buffering off;
# sub_filter /static/plugins/ /etherpad/static/plugins/;
# sub_filter /etherpad/etherpad/static/plugins/ /etherpad/static/plugins/;
# sub_filter_once off;
# }
location /dev {
rewrite_log on;
rewrite /dev/(.*) /$1 break;