How to replicate PostgreSQL with Docker for beginners

  Рет қаралды 16,143

That DevOps Guy

That DevOps Guy

Күн бұрын

Пікірлер: 32
@MarcelDempers
@MarcelDempers Жыл бұрын
Checkout the full playlist for learning PostgreSQL from scratch! 💪🏽👇🏽 kzbin.info/aero/PLHq1uqvAteVsnMSMVp-Tcb0MSBVKQ7GLg&si=igTb_kMndQyxodpI
Жыл бұрын
Hey Marcel. It took a time to this Video I waited for. So Great Explantation - thank you so much. Looking forward to the 4th one in this Season. Well done - pls keep going in this way - I Like it very much.
@sohansingh2022
@sohansingh2022 Жыл бұрын
Recently found your channel and absoluely loved it!
@FabianoChagas
@FabianoChagas Жыл бұрын
You just saved my day, mate. I’m looking for this solution for while and you solved it so easily Thanks for sharing 🙏🏻
@andreasheckel1061
@andreasheckel1061 Жыл бұрын
Great Work and fantastic explanation ! ... can't wait to see the next part on how to run that Postgres setup within Kubernetes 👍
@Shubham__Saroj
@Shubham__Saroj Жыл бұрын
Your videos are awesome as always and very helpful. Can we please have some video on using operators in Kubernetes considering some datastore like mongodb. Covering basic of CRDs
@charlie64x2
@charlie64x2 10 ай бұрын
Hey Marcel. Thank you for your videos. I love them. Keep on going!
@Rockshoes1
@Rockshoes1 5 ай бұрын
YOU ARE GREAT, i was able to set up my Immich DB in HA thanks to you.
@chenyangxiong9804
@chenyangxiong9804 Ай бұрын
The postgres-1 exposes the port on 5000:5432. When connecting postgres-1 from postgres-2, which port should I use? I think it should be 5000 instead of 5432.
@annusingh4694
@annusingh4694 Жыл бұрын
Thanks for the helpful videos
@oldcmputer
@oldcmputer 9 ай бұрын
I copied your repo exactly except I turned your docker run command into a docker-compose yml file. Does the same thing. I am creating the archive, config & data folders as my user which is a member of the docker group and in my own home dir. When I run docker-compose up on postgres-1, the archive folder is owned by root and in the postgres logs, I see: 2024-03-08 16:39:47.235 UTC [1] LOG: database system is ready to accept connections cp: cannot create regular file '/mnt/server/archive/000000010000000000000001': Permission denied
@brijeshdave
@brijeshdave 9 ай бұрын
Same issue for me
@brijeshdave
@brijeshdave 9 ай бұрын
Have you found any workaround?
@basketballguy17
@basketballguy17 4 ай бұрын
Late but you just have to run sudo chown 999:999 on the archive folder on your local machine
@jonny.rubber
@jonny.rubber Жыл бұрын
Hey, Thanks for everything
@mohameammaha99
@mohameammaha99 9 ай бұрын
Thank you so much for this video. What about BDR(multi masters) replication on Docker or Kubernetes are there any open sources solutions for data sync?
@stanleychukwu7424
@stanleychukwu7424 Жыл бұрын
thank you champ!!! GOD bless you!
@zhbitjean
@zhbitjean 9 ай бұрын
anyone know how to start the command line as bash? Did I miss something? I have been using cmd in windows and might have miss some steps. I ended up keep getting: pg_basebackup: error: connection to server at "postgres-1" (172.20.0.2), port 5432 failed: FATAL: no pg_hba.conf entry for replication connection from host "172.20.0.3", user "replicationUser", no encryption after I added host replication replicationUser 172.20.0.2/32 trust to pg_hba.conf
@rudydotdev
@rudydotdev 9 ай бұрын
Great work!
@nandiniachugatla932
@nandiniachugatla932 8 ай бұрын
After promoting server 2 to create table the data replication is stopped . How to acheive data replication after promoting server 2 to create table.
@daniela.2349
@daniela.2349 6 ай бұрын
Unfortunately the replication is not working at all. I've tried everything I could but no
@thodorispaparrigopoulos8542
@thodorispaparrigopoulos8542 Ай бұрын
What do you mean by its not working at all? Can you share your project files ? What errors do you see ?
@b2c205
@b2c205 7 ай бұрын
nice video mate
@Fullflexno
@Fullflexno 9 ай бұрын
10/10 content!
@munroegarrett
@munroegarrett Жыл бұрын
I have been wrestling with replicating Supabase with automatic promotion. This is excellent timing. Thank you.
@inteliconn995
@inteliconn995 Жыл бұрын
Thanks!
@markdabasol6707
@markdabasol6707 Жыл бұрын
Lets go!
@jricardo2012
@jricardo2012 3 ай бұрын
Top top !!
@nandiniachugatla932
@nandiniachugatla932 8 ай бұрын
Great Tutorial. Here we did data replication from server 1 to server2 how can we do vice versa -- server2 to server 1 replication ??
@Septumsempra8818
@Septumsempra8818 Жыл бұрын
🇿🇦🇿🇦🇿🇦🇿🇦🇿🇦🇿🇦
@ukaszrzasa1980
@ukaszrzasa1980 7 ай бұрын
dislike due to "chapter X" instead of list of content...
Learning PostgreSQL | an Introduction | DevOps
16:34
That DevOps Guy
Рет қаралды 9 М.
Docker Compose Tutorial
33:02
Programming with Mosh
Рет қаралды 467 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 28 МЛН
Wall Rebound Challenge 🙈😱
00:34
Celine Dept
Рет қаралды 13 МЛН
How to run a basic PostGreSQL in Kubernetes!
16:12
That DevOps Guy
Рет қаралды 22 М.
docker stack is my new favorite way to deploy to a VPS
27:47
Dreams of Code
Рет қаралды 115 М.
Docker Tutorial for Beginners
50:38
mCoding
Рет қаралды 78 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 464 М.
How to configure PostgreSQL | Learning | DevOps
24:00
That DevOps Guy
Рет қаралды 8 М.
Run Postgres in a Docker Container (Easiest PostgreSQL Setup)
12:23
PostgreSQL Logical Replication Guide
25:06
High-Performance Programming
Рет қаралды 43 М.
Build a CRUD API with Docker Node.JS Express.JS & PostgreSQL
26:02