6
13
cool_pebble

@aussie.zone

cool_pebble 11 points 3 years ago
networks:
  app:
    ipam:
      config:
        - subnet: 172.20.0.0/24
          gateway: 172.20.0.1
services:
  app:
    image: my-app-image
    networks:
      app:
        ipv4_address: 172.20.0.10

In the above example I've declared a Docker Bridge network with the range 172.20.0.0/24 and a gateway at 172.20.0.1. I have a service named app with a static IP of 172.20.0.10.

The same is also possible with IPv6, though there are extra steps involved to make IPv6 networking work in Docker and it's not enabled by default so I won't go into detail in this comment.

Out of curiosity, what's the use case for a static IP in the Docker Bridge network? Docker compose assigns hostnames equal to the service name. That is, if you had another container in the app network from my example above, it could just do a DNS lookup for app and it would resolve to 172.20.0.10.

path: 0 1277511, hotness: undefined, score: 11, children: 3
cool_pebble 8 points 2 years ago

Aren't we all? Aren't Ext4 and ZFS considered mature because so many people have said "it works on my machine"?

I agree this person's experience may contrast to your own, but I don't think the fact that something has worked well for some people, and perhaps not for yourself, is a reason to discount it entirely.

path: 0 13643485 13644149 13644212 13644227, hotness: undefined, score: 8, children: 1
cool_pebble 4 points 3 years ago

Fair point, I've updated the readme now.

path: 0 1334092 1355317, hotness: undefined, score: 4, children: 0
cool_pebble 2 points 3 years ago

Honestly, I'd be surprised if static IPs fix it. Docker's default network type (bridge network) is very good at assigning IPs to containers without clashing, even with container restarts and replacements: it's been battle tested for years in production use. As others have said, standard DNS hostnames of containers should be sufficient. But I'll certainly be interested to hear your results.

path: 0 1277511 1287327 1288464, hotness: undefined, score: 2, children: 1
cool_pebble 2 points 3 years ago

I hadn't planned on that specifically. An idea that's been in the back of my mind is to allow the configuration file be used to let users decide what command gets run, and with what arguments, so that you could use pretty much anything as the UI.

path: 0 1346679 1353999, hotness: undefined, score: 2, children: 0
cool_pebble 2 points 3 years ago

Would it be worth chucking in an hourly restart cron job/systemd timer for the time being? Not an ideal solution for sure, but maybe that's better than having to jump into the server every few hours (and users experiencing a seemingly stale feed).

path: 0 268222, hotness: undefined, score: 2, children: 1
cool_pebble 1 point 3 years ago

That seems to have done the trick, thanks! I still get a brief flash of something (presumably the Library window) when steam boots, but it disappears as quickly as it appears.

path: 0 1032164 1070455, hotness: undefined, score: 1, children: 0
cool_pebble 1 point 2 years ago

From 1 January 2025, the cost of a daily fare anywhere across the Victorian network will be capped at $11 or $5.50 for a daily concession – an increase of 40 cents and 20 cents respectively.

This increase is referring to the daily fare cap, right? If I understand correctly, it has made no mention of price changes for individual fares.

path: 0 14146774, hotness: undefined, score: 1, children: 1
cool_pebble 1 point 3 years ago

Are you on AMD graphics by any chance?

path: 0 288805 308543, hotness: undefined, score: 1, children: 1
cool_pebble 1 point 3 years ago

Thanks, starting to suspect it might be only AMD graphics experiencing it.

path: 0 282888 302659 307962 308536, hotness: undefined, score: 1, children: 0
cool_pebble 1 point 3 years ago

Same build ID. Are you on Nvidia or AMD graphics?

path: 0 282888 302659, hotness: undefined, score: 1, children: 2
cool_pebble 1 point 3 years ago path: 0 440031, hotness: undefined, score: 1, children: 0
cool_pebble 1 point 3 years ago

I'm on Linux, yeah. Admittedly I've seen some mentions of it happening on Windows, too.

path: 0 1032061 1060852, hotness: undefined, score: 1, children: 0

thanks for using Leebra!

go to feed...