My Docker problems — Networking & Volumes

upstream loadbalancer {
server myservice:7171;
}
server {
location / {
proxy_pass http://loadbalancer;
}
}
CREATE USER 'myuser'@'mysqlcontainer' IDENTIFIED BY 'mypass';GRANT ALL ON myDB.* TO 'myuser'@'mysqlcontainer';CREATE USER 'myuser'@'%' IDENTIFIED BY 'mypass';GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' WITH GRANT OPTION;

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sachith Muhandiram

Sachith Muhandiram

DevOps who is willing to learn and try new things.