adding in rancher in docker compose
This commit is contained in:
@@ -31,3 +31,11 @@ services:
|
||||
- /mnt/registry:/var/lib/registry
|
||||
networks:
|
||||
- nginx
|
||||
rancher:
|
||||
image: rancher/rancher:latest
|
||||
restart: unless-stopped
|
||||
container_name: rancher
|
||||
ports:
|
||||
- 2000:80
|
||||
- 2001:443
|
||||
privileged: true
|
||||
|
||||
+2
-2
@@ -11,9 +11,7 @@ http {
|
||||
index index.html;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stream {
|
||||
server {
|
||||
listen 5000;
|
||||
proxy_pass localhost:5001;
|
||||
@@ -23,7 +21,9 @@ stream {
|
||||
listen 80;
|
||||
proxy_pass localhost:33360; # TODO: change to NodePort of helloworld within kubernetes
|
||||
}
|
||||
}
|
||||
|
||||
stream {
|
||||
server {
|
||||
listen 3080;
|
||||
proxy_pass localhost:33360; # TODO: change to NodePort of api within kubernetes
|
||||
|
||||
Reference in New Issue
Block a user