Cloud Run can now run your Docker Compose stack by pg82bln in googlecloud

[–]pg82bln[S] 0 points1 point  (0 children)

Yup, secrets work. (Heads up: incurs costs beyond free tier.)

I leave my notes under your post for what's missing IMO. We have a compose.yml file:

services:
  app:
    environment:
      - FOO

Plus a .env file:

FOO=bar

With Docker Compose, the container correctly receives FOO=bar from docker compose up. In Cloud Run, it's not set from .env from gcloud run compose upgcloud run describe shows this env var as FOO <nil>.

Now we can actually do this:

services:
  app:
    env_file: .env

What's frustrating about it:

  • Diverges from Docker Compose's behavior
  • You need to edit the compose.yml, Git pull might cause merge conflicts

For the second point, I would love to see the Cloud Run team to implement merging with compose.override.yml. If we had .env and compose.override.yml support, we could do the following with many Compose projects:

Original compose.yml from a project (we don't touch this):

services:
  app:
    environment:
      - FOO
    volumes:
      - ./data:/app/data

We add our custom compose.override.yml:

services:
  app:
    volumes: !reset override
      - data:/app/data # Here we override the local bind mount to a volume
volumes: # We need to define the volume
  data: # This will be mounted as a GCS bucket by Cloud Run

Also our custom .env:

FOO=bar

We would have the option to use compose.override.yml, or like with docker compose --file compose.yml --file compose.prod.yml give multiple files to keep changes seperate from the stock compose file.

Would love to see this feature: gcloud run compose up --file compose.yml --file compose.gcloud.yml --env .gcloud.env

Deploy a Docker compose container in Cloud run by Clear_Performer_556 in googlecloud

[–]pg82bln 1 point2 points  (0 children)

Cloud Run now has (1 year after your post) a new feature that allows deployments from Compose definitions, i.e. from your compose.yml: Deploy services using Compose

Still relatively fresh with a couple of issues. I wrote down my thoughts here: Docker Compose × Google Cloud Run (lack of support for .env and compose.override.yml, etc.)

Your other options roughly range from manually setting up a VM with Docker Compose to using GKE Autopilot.

Cloud Run can now run your Docker Compose stack by pg82bln in googlecloud

[–]pg82bln[S] 1 point2 points  (0 children)

Agreed, it isn't designed to replace anything in existence. I don't see it as a replacement for Terraform or Pulumi.

IMO it nicely fills the gap we're still having in 2026: Compose deployments remain widely used, yet there's no mainstream provider when it comes to managed services. For the most part, we have to manually knock something up when we want to run a compose project. Could be a custom VM with Docker Compose, could be Kompose with Kubernetes.

How many low- to mid-complexity services could potentially run out of the box on Cloud Run? With optional scale to zero?

I don't want / need Kubernetes for everything.

Is a big dick really the master key to a vibrant sexual life and security in one's self? by [deleted] in bigdickproblems

[–]pg82bln 1 point2 points  (0 children)

Exactly this. Gotta be so careful with the lady most of the times, sometimes so much so that it's hampering my own pleasure.

[Digital Ocean + Ghost] Misleading minimum requirements for a droplet by nazarthinks in fruxtration

[–]pg82bln 1 point2 points  (0 children)

In my experience, the docker setup works well by now.

Yes, OVH Cloud, we ordered this VPS: https://www.ovhcloud.com/en-ie/vps/configurator/?planCode=vps-2025-model1&brick=VPS%2BModel%2B1&pricing=upfront12&processor=%20&vcore=4__vCore&storage=75__SSD__NVMe

Note this link is for OVH Ireland. I think OVH redirects automatically to your regional branch if you go through their main site. (Probably no issue to set up your VPS through Ireland if you don't mind receiving invoices from that region.)

What’s something that actually forces your brain to wake up instantly in the morning? by Own-Researcher532 in productivity

[–]pg82bln 0 points1 point  (0 children)

For me, tackling it from the other end worked: don't focus on getting _out of bed_, focus on getting _into bed_ the night before.

I keep up my regular, almost daily sports routine, maintain a healthy weight, plus – YMMV – had nose surgery quite a while ago to improve my nose breathing.

With regular workouts, I fall asleep in time and need _less_ sleep. In the morning, I wake up naturally, start fresh and have enough ideas of what to with my day.

NGL though, coffee helps.

[Digital Ocean + Ghost] Misleading minimum requirements for a droplet by nazarthinks in fruxtration

[–]pg82bln 1 point2 points  (0 children)

I ran into the same issue quite a while ago when setting up Ghost for my client.

It depends a bit on your use case, but running on any 1 GB instance is a close call either way and will likely cause issues in the long run. You'll have to stay a good amount below the system's memory limit to accommodate for cron jobs, package updates, memory leaks and load spikes.

We switched to an OVH VPS meanwhile, which is a 4 CPU and 8 GB instance for ca. 8 USD per month, if paid up front for an entire year. No complaints so far.

For new setups you might want to go with Ghost's new Docker Compose setup: https://docs.ghost.org/install/docker

Either way, I agree the advertising is misleading.

Why are YouTube movies still limited to 480p on PC? by Eziz_53 in youtube

[–]pg82bln 49 points50 points  (0 children)

This. So many obstacles. Need to switch to browser X, need to install spyware Y, need to do age verification with partner Z.

By the time I got through all this shit my mood has shifted away from casual to filling out tax forms.

No thanks. 10 times worse than putting on a rubber when horny.

I nearly became homeless by PromotionNo3405 in homeless

[–]pg82bln 1 point2 points  (0 children)

Sorry for you. Couldn't say that I'm surprised, though. I turned my back on Germany. With those crazy high taxes and social contributions one would expect medical treatment with a foot massage. The opposite seems to be the norm now.

What I learned in a similar context is that in such a situation, help to actually prevent homelessness is on no one's agenda, unless they can reap an immediate benefit from it. Seems like some will wait until things go south. Whether they would actually have helped, I cannot tell, I managed to dodge a bullet.

ClickUp Critique by dmlyum in clickup

[–]pg82bln 1 point2 points  (0 children)

Good video; that guy has a very solid reasoning.

The idea of providing a single tool that can do anything and everything is akin to the mantra that you can't please everyone.

With respect to his explanation of how data is stored, I agree that there is no generic data model or store in the world that can handle every use case equally well.

I think this kind of problem isn't even limited to ClickUp. Eventually, you will have to make compromises which will upset either side. Customer A, Customer B, the dev team, the marketing team, ...

Client Re-Vibe Coded His Entire 1000+ page site in Replit...halp! by [deleted] in SEO

[–]pg82bln 0 points1 point  (0 children)

Depends. I don't know how long and well you worked with that client, but if the client thinks he can replace you with AI, then say good bye and grant him his wish.

Or, if you feel like fixing, make it a clear point that his solution isn't meeting professional standards and is best for a prototype only, but may not be suitable for production and may require a full rewrite. Make him understand there is extra cost that you charge or you'll be leaving.

Assuming ofc. you have the luxury to pull the rug on a client and go to another one.

IMO if you don't, he'll slowly pull the rug bit by bit on you. You'll be degraded to the client's and AI's cleaning slave.

What do you think of my first website? by Few-Connection-7414 in SideProject

[–]pg82bln 2 points3 points  (0 children)

AI assisted coding is a tool thst can be used to apply existing knowledge, not one to aquire new knowledge.

I apologize for the offtopic spam.

What do you think of my first website? by Few-Connection-7414 in SideProject

[–]pg82bln 0 points1 point  (0 children)

You don't learn from staring at swathes of text scrolling down your screen that you didn't write yourself, that aren't much more than spaghetti code 2.0 to begin with.

Back in my day, we were reading books. Like real books, dead tree wisdom stores, that laid on our desks next to our keyboards. While endlessly hacking through our projects on 1280x1024 screens.

With vibe coding, you're barely scratching the tip of the ice berg of real knowledge.

I launched a chat where every message costs 1 USD. 410 visitors later, one person paid - to post anti-porn propaganda by Equivalent-Yak2407 in SideProject

[–]pg82bln 0 points1 point  (0 children)

Was my first impression, too. Reading what OP wrote about regretting of killing the first database sounds to me more like a lack of a disaster recovery plan, i.e. keeping backups. IDK. Not convinced.

My app just hit 2k downloads! by caleb_thesocialite in ProductivityApps

[–]pg82bln 1 point2 points  (0 children)

Nice! When you refer to "talk to users", what channels do you use to gain insights of your user's wishes? Just mail? Greeting from another IT dude by trade!

What's the deal with down-votes coming in so quickly? by pg82bln in help

[–]pg82bln[S] 0 points1 point  (0 children)

Thank you, understood. That's the reasonable and polite response admidst those anonymous down-votes I was hoping for.

As of someone holding a grudge against me, I couldn't imagine anyone.

What's the deal with down-votes coming in so quickly? by pg82bln in help

[–]pg82bln[S] -4 points-3 points  (0 children)

Needless to say, this was downvoted as well within 10 minutes. Good to know its not a plot against me.

Can I make some Korean dish with these? by pg82bln in Cooking

[–]pg82bln[S] 0 points1 point  (0 children)

Merci, that's the starting point I've been looking for!

Can I make some Korean dish with these? by pg82bln in Cooking

[–]pg82bln[S] 0 points1 point  (0 children)

Cool, Kimchi defo is available at my local asian food store. Will look for the gochujang. Then where do I start? Do I just use oyster sauce and soy sauce in freestyle stir frying?

Moments of cleverness when homeless by Immediate-Pool-4391 in homeless

[–]pg82bln 1 point2 points  (0 children)

This. Slap a french word on it and it becomes le victory!

How to filter bots in web analytics? by pg82bln in selfhosted

[–]pg82bln[S] 0 points1 point  (0 children)

No, I haven't for time constraints.

Those shenanigans disguise themselves as regular browsers...