Ultimate Docker Server in just 52 min: Using Docker Compose

  Рет қаралды 6,543

SmartHomeBeginner

2 ай бұрын

Build a robust and featureful home media server with Docker. This step-by-step guide is part of the Docker Server series by Anand.
In this video, we are going to get started with building a Docker Server for Homelab, from Scratch with support for 100s of self-hosted applications.
For this demo, I am using Ubuntu 22.04 Server Edition. But the procedure is essentially the same for Ubuntu 24.04 and Debian based distros.
#docker #dockercompose #dockertutorial #homelab #minilab #homeserver #ubuntu
TIMESTAMPS
0:00 Introduction
1:22 Why Docker for Home/Media Server
2:30 Getting Started
3:05 The Big Picture: How Everything Fits Together
4:10 Files, Folders, and Permissions
11:30 Environment Variables (.env File)
13:27 Creating the Docker compose File
15:40 Docker Socket Proxy
23:57 Portainer Docker Compose
29:50 Dozzle Docker Compose
33:51 Homepage Docker compose
36:45 Jellyfin Docker Compose
46:15 Rest of the Apps
48:38 External Access to Apps
50:52 Wrapping Up
RELEVANT LINKS (in the order of appearance):
🔗 Docker on Proxmox Unprivileged LXC: kzfaq.info/get/bejne/Y8CDhMd7m5jWXYU.html
🔗 Mounting Remote SMB Shares using Rclone: kzfaq.info/get/bejne/epOIhpOTzrK0YWg.html
🔗 Ultimate Docker Media Server: www.smarthomebeginner.com/docker-media-server-2024/
🔗 GitHub Repo: github.com/htpcbeginner/docker-traefik
🔗 www.smarthomebeginner.com/authelia-docker-compose-guide-2024/
🔗 www.smarthomebeginner.com/google-oauth-traefik-forward-auth-2024/
🔗 Docker Traefik Guide: www.smarthomebeginner.com/traefik-docker-compose-guide-2024/
ULTIMATE DOCKER SERVER SERIES:
Playlist: kzfaq.info/get/bejne/fcyqmrF7prOVaaM.html
AUTO-TRAEFIK:
📰 www.smarthomebeginner.com/go/auto-traefik-ytd/
🎞️ kzfaq.info/sun/PL1Hno7tIbSWViTyCXl9xNdXXU-1bVxIFD
GITHUB REPOSITORIES:
📜 github.com/anandslab/docker-traefik
MY PROXMOX HOST:
🖥️ Topton V700 Intel i7-13800H Mini PC with 64 GB RAM: www.smarthomebeginner.com/go/topton-v700-yt (Affiliate Link)
🔗 Best Mini PC for Proxmox: www.smarthomebeginner.com/best-mini-pc-for-proxmox-2024/
SUPPORT MY WORK:
🤝 www.smarthomebeginner.com/go/memberships-ytd/
JOIN THE COMMUNITY:
👋 www.smarthomebeginner.com/go/discord-ytd/
🌐 www.smarthomebeginner.com/
FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!
👥 Twitter: anandslab
👥 Facebook: anandslab
👥 Instagram: smarthomebeginr

Пікірлер: 31
@ihearttesla2333
@ihearttesla2333 2 ай бұрын
Thanks for the time you take. To do this videos !!.
@blazenetwork242
@blazenetwork242 28 күн бұрын
Amazing work, keep it up! Cant wait to see your channel grow.
@marcelorruiz
@marcelorruiz 2 ай бұрын
Awesome work my friend. Thanks for all your hard work!
@AnandsLab
@AnandsLab 2 ай бұрын
Thank you. I truly enjoy doing this and feedback like yours motivates me more.
@SystemPromowania
@SystemPromowania 2 ай бұрын
AMAZING stuff! Cant wait for next level ;) 😍
@AnandsLab
@AnandsLab 2 ай бұрын
Thanks. It’s coming. One video a week is my plan. Sunday evening drop.
@harbinjar
@harbinjar 2 ай бұрын
Good video. Im going to set this up tomorrow. Thanks
@clairerovic
@clairerovic 2 ай бұрын
Just changed my notification to 'ALL' - this is a magnificent video - Well Done
@azizmetchonou
@azizmetchonou 2 ай бұрын
It is finally out i have been waiting for so long
@AnandsLab
@AnandsLab 2 ай бұрын
Thanks. Sorry to keep you waiting. I have so many videos planned but so little time. The traefik v3 will come out within 2 weeks. Stayed up until 1:30 am yesterday to record that. Need to edit and upload.
@grahamstapleton3473
@grahamstapleton3473 6 күн бұрын
Fantastic video, great info realy well presented with documentation. I have been a bit caught out using the files from your repo which over time have changed a small ammount. Any chance you will be doig a video on Frigate NVR any time soon? fingers crossed. Thank again.
@SystemPromowania
@SystemPromowania 2 ай бұрын
best in class tutorial :) subscribbed
@AnandsLab
@AnandsLab 2 ай бұрын
Thanks!😊
@drewsweeney2333
@drewsweeney2333 2 ай бұрын
Great video. Really learned how the yml files connect with the use of .env file. I am wondering if you’ll have a video out on the Arrs, Qbittorrent and the use of a VPN in the setup?
@AnandsLab
@AnandsLab 2 ай бұрын
Thanks! Yes definitely. Its all in the plan. I hope I can find some time to do those quickly. Meanwhile, I have a good article on Qbittorrent+ Gluetun. Check it out: www.smarthomebeginner.com/gluetun-docker-guide/
@waRraFug
@waRraFug 2 ай бұрын
Hey man, thanks for all your time and effort! Please let us know what terminal manager you are using? "UDMS" in your task bar. Cheers and thanks!
@AnandsLab
@AnandsLab 2 ай бұрын
Thanks! I use MobaXterm. I should have put the name on the screen. I did not get your "UDMS" comment. What do you mean?
@benjaminwingard903
@benjaminwingard903 2 ай бұрын
@@AnandsLab I believe what is being refered to is the Session Name.
@TheMrmaxno
@TheMrmaxno 2 ай бұрын
Hi, I really like your content. I am wondering whether you have a video how to backup the docker persistence volumes, it would be a really great to cover the issue. Just an my example: I keep my docker persistence volumes outside the VM with Debian (proxmox has NFS server and this disk is mounted to VM via NFS). I do use a script that stops all containers, runs the rsync to backup the data of the volumes and starts the containers, but I would love to learn and take to account any other approaches. Thank you in advance
@AnandsLab
@AnandsLab 2 ай бұрын
If you are on proxmox, why not just backup the VM? Also, why not LXC? I highly recommend Proxmox Backup Server. It does incremental backup (unlike regular backup done by Proxmox) and so you can even set it to backup every hour and only the changes are backed up. On top of this, I also have a similar approach as yours but with tar backups. But I have all my files in my Proxmox LXC and not on the host.
@TheMrmaxno
@TheMrmaxno 2 ай бұрын
@@AnandsLab hi, I am not so familiar with LXC constraints, not sure if all my containers support such kind of installation. As I said all volumes data are outside VM and it's mounted inside VM with NFS, so l can't to backup it with VM backup. I found it easier to manage, with the approach VM could take 20+30Gb for OS and soft like docker, but containers volumes take extra 20-40gb (plex cache, mariadb etc). Not sure how common the way is, but I like this one, and I am looking for ideas how to manage that and or other way
@reyastaroth
@reyastaroth 2 ай бұрын
Hello Anand!! How are you?, when you configure the .env file and copy all the user variables, timezone, docker directory... In data dir I have it distributed in two directories: Within rclone I have a truenas server directory where I have the multimedia and another synology directory where I have the downloads. How can I put two directories in said configuration?
@AnandsLab
@AnandsLab 2 ай бұрын
Good and hope the same. You can create two variables: DATADIR1 (TrueNAS) and DATADIR2 (Synology). For your docker contaners you will mount the volumes as: - DATADIR1/media:/data/media1 - DATADIR2/media:/data/media2 So inside the container (e.g. Jellyfin) all media will be inside /data folder. If any issues, reach out on our Discord.
@theboxdudeph
@theboxdudeph Ай бұрын
i found a notable problem in the portainer section. I got the portainer YML from your repo and inside, it used the EE version and not the CE. I ran it and when i try to create a portainer user it asks me to register which I don't want to do. So I stopped the docker compose and changed the YML to download CE instead. but when i docker compose UP; portainer will not start. Checked online if there is a way to downgrade and it is a bit length process. basically 3hrs of following the guide and now I have to go back to the beginning.
@AnandsLab
@AnandsLab Ай бұрын
You have to downgrade what? I point this out. The fix is easy, you delete portainer persistent storage in appdata folder and portainer images. This should fix accidental mistakes.
@theboxdudeph
@theboxdudeph Ай бұрын
@@AnandsLab thank you that worked. your fast response is really appreciated
@AnandsLab
@AnandsLab 29 күн бұрын
Glad it worked. You should also have seen the instructions to downgrade in the portainer container logs, pointing to this portal.portainer.io/knowledge/can-i-downgrade-from-portainer-business-to-portainer-ce
@spacecookie01
@spacecookie01 2 ай бұрын
Hey quick question man, why do you use Jackett and not Prowlarr?
@AnandsLab
@AnandsLab 2 ай бұрын
Hey! That picture was a few years old. I do not use Jackett anymore. If you check my github, you will see the current apps I use. github.com/htpcBeginner/docker-traefik
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 12 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 34 МЛН
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 17 МЛН
Хакер взломал компьютер с USB кабеля. Кевин Митник.
0:58
Последний Оплот Безопасности
Рет қаралды 1,7 МЛН
iPhone 15 Pro Max vs IPhone Xs Max  troll face speed test
0:33
Сколько реально стоит ПК Величайшего?
0:37
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 167 М.
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18