adding in proxy into kubernetes mysql
This commit is contained in:
@@ -14,6 +14,9 @@ services:
|
|||||||
- 6000:6000 # audio route
|
- 6000:6000 # audio route
|
||||||
- 6001:6001 # video route
|
- 6001:6001 # video route
|
||||||
- 6002:6002 # presence route
|
- 6002:6002 # presence route
|
||||||
|
|
||||||
|
# rameelo mysql
|
||||||
|
- 3306:3306
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
- ./src/index.html:/usr/share/nginx/html/index.html
|
- ./src/index.html:/usr/share/nginx/html/index.html
|
||||||
|
|||||||
@@ -120,4 +120,10 @@ stream {
|
|||||||
listen 6002;
|
listen 6002;
|
||||||
proxy_pass localhost:33600; # TODO: change to NodePort of tcp presence deployment service
|
proxy_pass localhost:33600; # TODO: change to NodePort of tcp presence deployment service
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# rameelo mysql
|
||||||
|
server {
|
||||||
|
listen 3306;
|
||||||
|
proxy_pass localhost:31792;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user