Can I Use Docker to Set Up MSSQL or PostgreSQL for My To-Do List?

0
2
Asked By CuriousCoder92 On

Hey everyone! I'm diving into Docker and I'm wondering if I can set up either MSSQL or PostgreSQL through Docker for my To-Do List app. Once I have that set up, can I just type 'localhost:3000' in my browser to see my website without needing to use VS Code? Also, I have a few other questions: if I get a new laptop and install Docker, how do I run it if I don't have any files on it yet? And if I set up a cron job to call a function like 'NotifyMe' every Friday, will Docker handle that even if my computer is off? I've heard about Docker images and containers, can I deploy my container to the cloud, like AWS, for staging and production? When would Kubernetes come into play? I've heard it's like a cheat code for Docker. Lastly, is eight hours enough to get all this done? I know how Bubble sort works and I'm a CS student, if that helps. Thanks!

1 Answer

Answered By DockerDude_47 On

Well, just to clarify, MSSQL and PostgreSQL are databases, not web servers. After you install Docker, you’ll need to pull the right image for MSSQL or PostgreSQL. You can certainly run your To-Do app (once it's set up) and access it via localhost on port 3000, but you need to make sure everything's configured correctly first!

LearningLlama -

So once I install the SQL server in Docker and set up my To-Do app with Node.js or React, will I be able to see my website at localhost:3000?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.