Город МОСКОВСКИЙ
00:09:53

How to run PostgreSQL in Docker | Beginners Tutorial

Аватар
Веб-разработка с JavaScript-фреймворками
Просмотры:
21
Дата загрузки:
29.11.2023 10:16
Длительность:
00:09:53
Категория:
Разное

Описание

In this video, we will learn how to get PostgreSQL running in a Docker container so that you can run and utilize the Relational DB locally without the need to install PostgreSQL. We will be using GoLang to test the container to query a simple table.

We will take it up a step and use Docker Compose so we can use .env files, volumes for initilizing the DB and keeping state through restarts and crashes.

More information on environment variables that PostgreSQL's container will recognize can be found at: https://hub.docker.com/_/postgres

All code found in this video will be at:
https://github.com/NerdCademyDev/docker

Linode $60/100day free credit:
https://www.linode.com/lp/refer/?r=f208ff2dd1bb6ecbe427800d75bf0884b95936ec

If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!

⚡️ Gear I use:
? Laptop: https://frame.work/products/laptop-diy-13-gen-intel?q=processor
? M1 Mac Mini: https://amzn.to/3RiyJu2
⌨️ Mech Keyboard: https://amzn.to/3PmR5ri
? My Camera Lumix S5: https://amzn.to/3EJ2RY6
? Panasonic 35mm Lens: https://amzn.to/3F3J1ad
? Rode Podmic: https://amzn.to/3ZtR6hO
☁️ Cloudlifter: https://amzn.to/3ZqTVju
? Alternative Cloudlifter: https://amzn.to/48rtqia
? Audio Interface: https://amzn.to/3Pz5TmO
? Main Video Light: https://amzn.to/3ZkJkql
? Softbox: https://amzn.to/3sZO60g
I only recommend products I would use myself and all opinions expressed here are my own. Some of these links are Affiliate Links and I may earn a small commission if you click through and purchase something--at no additional cost to you!

#nerdcademy #docker #postgresql

Рекомендуемые видео