adding in proxy into kubernetes mysql

This commit is contained in:
talksik
2023-08-18 14:12:18 -07:00
parent 03fe191884
commit ad480bf61a
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -14,6 +14,9 @@ services:
- 6000:6000 # audio route
- 6001:6001 # video route
- 6002:6002 # presence route
# rameelo mysql
- 3306:3306
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./src/index.html:/usr/share/nginx/html/index.html
+6
View File
@@ -120,4 +120,10 @@ stream {
listen 6002;
proxy_pass localhost:33600; # TODO: change to NodePort of tcp presence deployment service
}
# rameelo mysql
server {
listen 3306;
proxy_pass localhost:31792;
}
}