adding in rancher in docker compose

This commit is contained in:
talksik
2023-08-14 13:27:17 -07:00
parent a01e42bf95
commit 088fa0676b
2 changed files with 10 additions and 2 deletions
+8
View File
@@ -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
View File
@@ -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