I'm curious why you decided to not use the more "grouping" dev, staging, prod namespaces instead? In this way is possible to run `docker compose --profile dev up` instead of `docker compose --profile postgres,redis,assets,web,worker,cable up` (or specify just "dev" instead of "postgres,redis,assets,web,worker,cable" in the COMPOSE_PROFILES env var)
@NickJanetakis4 сағат бұрын
I like the fine grained control over starting each service individually. Since it's defined once in that environment variable it's not something that gets typed on a regular basis so from a human perspective it's no different. There's also cases where staging and prod could end up being the same thing.
@ayex863 күн бұрын
Nice video I wish it was there couple of years ago, when I had to learn it.
@klaarnou3 күн бұрын
Lame and sloppy video. Thanks for nothing.
@Samar-rq5ti3 күн бұрын
Wish I found this earlier, thankss!!
@habibosaye4 күн бұрын
Would love to see a video on service discovery and industry tools that help with that.
@NickJanetakis3 күн бұрын
Hi, thanks. In my day to day I don't really use those tools much. Most of the clusters I operate have less than 10 services and adding a new service corresponds with adding a new Argo CD application which happens very infrequently.
@StbanSmite6 күн бұрын
Wilson Nancy Lopez Margaret Allen Ronald
@atlantic_love7 күн бұрын
Not sure why you sped up your video. I refuse to believe you talk that fast in real life, lol. Putting the speed at 0.75 made you sound much more normal.
@NickJanetakis7 күн бұрын
Every video is this speed. I don't speed them up artificially. The intro tends to be maybe a little fast because I usually repeat myself a few times before I get the wording how I want since everything is unscripted and mostly unplanned beyond an idea of what I want to cover in the video so I'm kind of figuring it out as I go.
@ClaraTina-h8f7 күн бұрын
Martinez Christopher Anderson Michelle Allen Sandra
@ginor47 күн бұрын
saved a lot of work hours to me. thanks
@MotleyMagee-o4s9 күн бұрын
Brown Helen Perez Betty Taylor Susan
@BlakeWatts-t1o9 күн бұрын
Has anyone been able to do this with docker-compose and using the following command docker secret create secret-name secret-value - ? So using secrets that you create with that command in your compose and then mounting in your dockerfile. Mainly asking for local development purposes and Id rather not use a .env, or export them in my shell, or create a file. I just want to use the secret create command with the name and value. TY in advance.
@innovationsanonymous88419 күн бұрын
Pretty sure you got arg confused with cmd, and cmd confused with entry point: Overriding the entry point tends to be a problem because it overrides the intended behavior of the image. Overriding the cmd is often normal in slimmer containers without a bunch of setup and configs. It gets appended to the entry point. Args are for build args (i.e., for parameterized builds) (ieee *image* args). Env vars are generally the preferred way to config the container
@NickJanetakis9 күн бұрын
Build args are a different thing than the args property in Kubernetes. In this video, it was in relation to Kubernetes args. It's documented here: kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#define-a-command-and-arguments-when-you-create-a-pod It functionally operates as described in this video, at least based on the use case I am using it for.
@LewisHughes-d2o10 күн бұрын
Lewis Jennifer Anderson Ruth Lee Ronald
@VictorSwift-c8u10 күн бұрын
Dayne Port
@benderbnymackenzie907310 күн бұрын
Taylor Shirley Thomas Anna Clark Deborah
@PeterBenjamin-KH10 күн бұрын
Another take-away is factor #10 from the 12-Factor App: "Keep development, staging, and production as similar as possible"
@NickJanetakis10 күн бұрын
Yep for sure. Funny enough I have a video of that applied to Docker here: kzbin.info/www/bejne/r4DYYnSGnJydqqM
@MaryRobinson-s6t11 күн бұрын
Fanny Cove
@HaroldDominic-e5k11 күн бұрын
Helene Ford
@DavidHaland11 күн бұрын
Hall Anthony Hernandez Ronald Taylor Anthony
@ShannonSmith-b7v13 күн бұрын
Robinson Steven Anderson Michael Harris Helen
@ElizabethWilson-c2u13 күн бұрын
Mills Coves
@JeremiahJonas-u5f14 күн бұрын
Miller Michelle Clark Ruth Young Jeffrey
@BokamosoKalaote14 күн бұрын
Q HD r ya 4sfaf
@negrastormentas286515 күн бұрын
Great video.
@MorleyJamie-t5k15 күн бұрын
Jones Nancy Hernandez Joseph Taylor David
@alokrajput1316 күн бұрын
This video happened to be very useful for me. Thanks for sharing Nick.
@AndiDemirie17 күн бұрын
Jones Edward Hernandez Maria Anderson Mary
@HeadingWatch17 күн бұрын
Clark Robert Robinson Jose Martin Deborah
@LarryCalloway-s7i17 күн бұрын
Lewis Larry Garcia Carol Jones Gary
@MaryAguilar-t6s18 күн бұрын
Jackson Laura Davis Karen Harris Linda
@NitaHoffmeister-p5w20 күн бұрын
Young Karen Walker Barbara Harris Ruth
@AnnNicola-o4d20 күн бұрын
Martin Jessica Miller Melissa Anderson Ronald
@Susan-i8y20 күн бұрын
Clark Amy Thomas Cynthia Taylor Daniel
@kevcube22 күн бұрын
Hi Nick, can you consider updating this tutorial for using GitHub's arm64 runners (beta) and how to generate manifests and push? I'm using ECR but a docker hub tutorial would also be useful. My primary pain point is that the images are built on different runners so I need to generate a manifest in my build process that gets pushed to the registry to link the multi-arch images to the same tag.
@NickJanetakis22 күн бұрын
Hi, sorry I don't use those runner types. The images that get built and pushed are compatible with both CPU architectures. Does the runner's underlying CPU architecture have an impact here?
@kevcube22 күн бұрын
@@NickJanetakis using qemu to do cross-platform builds introduces a performance penalty because of the cross-architecture emulation. All commands inside the build process are run in emulated arm64 as opposed to native on the arm64 runners.
@MargotSampang-m1y22 күн бұрын
Donny Rue
@RoksanaJahan-d4y23 күн бұрын
Brown Susan Thompson Kevin Hall Edward
@BensonCleveland-v4p24 күн бұрын
Anderson Christopher Lopez Linda Moore Barbara
@Nitrodist24 күн бұрын
Great video - where is the shift-tab behaviour documented in fzf.vim? I had a look in the vim docs for it (K) without any luck. Thanks for pointing out that shift-tab will select more than one file in FZF with vim when the fzf search results are shown line by line.
@NickJanetakis24 күн бұрын
Thanks. The shift-tab combo is defined in FZF itself and since Vim's FZF plugin uses FZF you're good to go unless you've gone out of your way to disable or change it.
@Nitrodist24 күн бұрын
@@NickJanetakis today I learned, thanks 🙏
@HansenLance-m7w26 күн бұрын
Anderson Sharon Williams Ruth Robinson Jessica
@romangeneral2326 күн бұрын
Dude, Slow down!!!!!!!!!!!!!!
@mikemccartneyable29 күн бұрын
Superb video ... using {} on ALL variables and suddenly my coding efforts work a lot more often 👍
@hamzaaitboutou8563Ай бұрын
Another way to not get ./ in the output of the find command is to use find * instead of find .
@NickJanetakisАй бұрын
I did try that initially with `"${project_path}/${controller_path}/"*` but it still included ./ in the path.
@ahmedjaad4940Ай бұрын
This great thanks, I am starting to like your videos even better now, Okay I am a long time IntelliJ IDEA user and I am experimenting Vim as my IDE(I am not sure it is) and this feature is a must, I use it all the time in IntelliJ and they're called templates, live template to be precise. Anyways I think this will my 2,046th plugin, Vim is almost ready to be an IDE
@NickJanetakisАй бұрын
Thanks a lot, and here's to your next 2,047th plugin!
@ahmedjaad4940Ай бұрын
@@NickJanetakis 🤣unfortunately I could not install this one as my Vim installation does not have Python support
@ayex86Ай бұрын
Nice solution. I didn't know "-execdir" exists in find
@RazoBeckett.Ай бұрын
the openkeychain app just sucks i have imported my keys still when i go to the password-store app on android it and it asks me my gpg password after entering that it gives me error: Error Encountered while execution of operation and shit i did same as you said and other guide as well it didn't worked at all.
@NickJanetakisАй бұрын
Ah, it's hard to say. It's working here, but I wonder if a newer version has issues.
@RazoBeckett.Ай бұрын
@@NickJanetakis what version you are using of both apps tell me, I will do the same because I want to get it working ASAP.
@NickJanetakisАй бұрын
@@RazoBeckett. I'm using v1.13.5 of the password store app.
@RazoBeckett.Ай бұрын
@@NickJanetakis and what about the OpenKeyChain ?
@NickJanetakisАй бұрын
@@RazoBeckett. 6.0.4
@nomallikeotherАй бұрын
thanks
@Patrick-w2dАй бұрын
thanks for the fast introduction to docker secrets it helped a lot! 😁
@CripplingDualityАй бұрын
Is the value add that it's 8 fewer characters?
@NickJanetakisАй бұрын
Hard to say, especially since you rarely type out the file name when running Docker Compose commands. In a way it could be slightly less convenient for fuzzy finding files because previously you could type "docker" and find Dockerfile, docker-compose.yml and .dockerignore. If your project uses PHP you might have composer.json / compose.lock files which share a similar file name.
@pleaseletmein222Ай бұрын
@@NickJanetakisIf it's hard to say that it adds value why do you insist on changing it?
@NickJanetakisАй бұрын
@@pleaseletmein222 Just so it's less confusing for folks who might be reading Docker's docs and then get into the project. It's beneficial to be consistent with the latest best practices and suggestions by Docker.
@dmbrvАй бұрын
funny ending. thanks for video
@NickJanetakisАй бұрын
Thanks for watching!
@JasonStoreyАй бұрын
this was really helpful, Ironically for the OPPOSITE reason. I was using ripgrep in a comfyui plugin directory (which itself was a cloned git rep) and rg was failing to return results randomly. I didn't know the native gitignore that came with the inherited project would be the culprit! thanks a lot, saved me a headache.
@neniugrava28 күн бұрын
I just discovered the .rgignore the other day for the same reason. I'm working on a project using an ESP32, and I use several libraries via ESP-IDF managed components. These are like git submodules that are managed by the toolchain, so I have to keep them in my .gitignore. Unfortunately this prevented rg and neovim's telescope from returning results. Adding a "!managed_components" to my .rgignore fixed this.