I couldnt use pod names, I needed to setup an addr to connect from miniflux to postgres, fetching on localhost:8080 times out but
I can do this from miniflux container
let me know if you need to know something else
Also, in the documentation, I was able to run my first podman container, so I think at least that config is OK?
Also this forum has other labels, but no label for podman, even that docker is no longer on the official documentation and only bhyve is there along with podman.
doas podman inspect compose-configs_miniflux_1 | grep -i ipaddres but directly it works
Code:
➜ compose-configs fetch -o- http://10.89.0.18:8080
- 0 B 0 Bps
<!DOCTYPE html>
<html lang="en-US">
<head>
...
...
...
➜ compose-configs curl -s -o /dev/null -w "%{http_code}" http://localhost:8080
000
Code:
➜ compose-configs cat /etc/sysctl.conf
net.pf.filter_local=1
➜ compose-configs sysctl net.pf.filter_local
net.pf.filter_local: 1
➜ compose-configs cat /etc/pf.conf
# Change these to the interface(s) with the default route
v4egress_if = "wlan0"
v6egress_if = "wlan0"
nat on $v4egress_if inet from <cni-nat> to any -> ($v4egress_if)
nat on $v6egress_if inet6 from <cni-nat> to !ff00::/8 -> ($v6egress_if)
rdr-anchor "cni-rdr/*"
nat-anchor "cni-rdr/*"
table <cni-nat>
I can do this from miniflux container
Code:
➜ compose-configs doas podman exec -it compose-configs_db_1 psql -U miniflux -d miniflux -c 'select 1;'
?column?
----------
1
(1 row)
Code:
➜ compose-configs doas pfctl -a cni-rdr -s nat
➜ compose-configs doas pfctl -s nat
nat on wlan0 inet from <cni-nat> to any -> (wlan0) round-robin
nat on wlan0 inet6 from <cni-nat> to ! ff00::/8 -> (wlan0) round-robin
nat-anchor "cni-rdr/*" all
rdr-anchor "cni-rdr/*" all
let me know if you need to know something else
Also, in the documentation, I was able to run my first podman container, so I think at least that config is OK?
Also this forum has other labels, but no label for podman, even that docker is no longer on the official documentation and only bhyve is there along with podman.