Setup Go and MySQL with Docker Compose (Docker)

Опубликовано: 04 Октябрь 2024
на канале: Jason Cheung
1,675
12

Quick tutorial on how to setup MySQL and Go with docker compose. Assumes a brand new project which walks through how to setup each file required and gives a quick demo of executing commands. Demo on Ubuntu.

Keep in mind that sometime is needed to create the database in the container, which is why a continuous check is needed to tell when the SQL server is ready.

0:00 - Project Setup
0:09 - Create required files
0:55 - Start all services
1:11 - Verify code is running
1:24 - Demo with queries

Code: https://github.com/Jasoncheung94/yout...

🎵 Track Info:
––––––––––––––––––––––––––––––
Track: Moment — Amine Maxwell [Audio Library Release]
Music provided by Audio Library Plus
Watch:    • Moment — Amine Maxwell | Free Backgro...  
Free Download / Stream: https://alplus.io/moment
––––––––––––––––––––––––––––––