3 ideas to investigate after comparing with my config :
1/ check firewall ports
2/ check difference between “Postgre_db” and “postgre_database” in your docket file
3/ in my npm config I had to write down the equivalent to “http://notes.upandclear.org:22300” instead of 10.xxxx:22300
BTW Postgre seems to be working fine (logs are ok) so as Joplin as I got Invalid origin: http://10.0.4.100:22300 while trying to access direct IP:port.
Ok, I see. This can't work. It's a proxy, to redirect my domain (or sub here) to one of my hosts. This needs to be an IP.
On this same host (10.0.4.100) I got 3 domains and 27 subs.
Is there a reason you don’t use an environment file (.env)? In the compose file it should be just
APP_BASE_URL=${APP_BASE_URL},
while in the .env it should be http://notes.upandclear.org, your url (without adding the port number there) - note that it’s not https, that part is ought be handled by the reverse proxy.