This message was deleted.
# rancher-desktop
a
This message was deleted.
w
doh meant to drop that in the thread to avoid bloating the stream
b
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND paulrandall 1522 0.0 0.1 4307412 10656 ?? Ss 1:17pm 0:16.26 ssh: /Users/paulrandall/Library/Application Support/rancher-desktop/lima/0/ssh.sock [mux]
👍 1
Hi Justin
w
yeah was guessing it was a port mapping thing. i mena working in the restricted ports is always more difficult than something like 8080 on the Host side
b
Hmmm. And I am so close. I even have Nginx Proxy Manager persistently saving then reloading file and database data after a reboot
Same for Wordpress. In 2 containers with no port clashes.
w
yup it will work in Lima, but trying to see in lima where it runs a cleanup
b
I’ve googled and googled. I had a httpd instance running via homebrew and also one running via the Mac’s standard Apache install and both asre off now. And don;t reload after a reboot.
w
and nothing left in docker ps that might be holding it open?
i mean it is forwarding it into the VM
thats what that ssh tunnel is
b
This is the entire contents of docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ab6e529f2c7d jc21/nginx-proxy-manager:latest “/init” 24 minutes ago Up 24 minutes 0.0.0.0:80-81->80-81/tcp, :::80-81->80-81/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp nginxproxymanager-app-1 008218f13ff2 jc21/mariadb-aria:latest “/scripts/run.sh” 24 minutes ago Up 24 minutes 3306/tcp nginxproxymanager-db-1 8fb9a66e12d2 dbd43b6716a0 “entry” 2 hours ago Up 2 hours k8s_lb-tcp-443_svclb-traefik-aedb3f7c-rn9bg_kube-system_edc84ae6-6cdd-4aae-a03b-7827108c411f_5 23a246f8e2ac dbd43b6716a0 “entry” 2 hours ago Up 2 hours k8s_lb-tcp-80_svclb-traefik-aedb3f7c-rn9bg_kube-system_edc84ae6-6cdd-4aae-a03b-7827108c411f_5 e4f5d580383e fb9b574e03c3 “local-path-provisio…” 2 hours ago Up 2 hours k8s_local-path-provisioner_local-path-provisioner-7b7dc8d6f5-nd52t_kube-system_89cacf18-4239-43b7-a772-a02f2b78daaa_5 0913b2916f8b f73640fb5061 “/metrics-server --c…” 2 hours ago Up 2 hours k8s_metrics-server_metrics-server-668d979685-hpcc2_kube-system_d75b8dfc-a9e2-4544-a663-c021442918f8_5 ef0e5c040e07 72463d8000a3 “/entrypoint.sh --gl…” 2 hours ago Up 2 hours k8s_traefik_traefik-7cd4fcff68-lns28_kube-system_100b515c-01c0-4b83-b237-9359068f37b2_5 ad5bb746ea6e 99376d8f35e0 “/coredns -conf /etc…” 2 hours ago Up 2 hours k8s_coredns_coredns-b96499967-fl5wj_kube-system_84112cd7-a9b7-4c3c-a7de-798a1a0d324c_5 917b863bb210 k8s.gcr.io/pause:3.6 “/pause” 2 hours ago Up 2 hours k8s_POD_coredns-b96499967-fl5wj_kube-system_84112cd7-a9b7-4c3c-a7de-798a1a0d324c_5 4f77b6b4e8ae k8s.gcr.io/pause:3.6 “/pause” 2 hours ago Up 2 hours k8s_POD_local-path-provisioner-7b7dc8d6f5-nd52t_kube-system_89cacf18-4239-43b7-a772-a02f2b78daaa_5 e81b0f154e49 k8s.gcr.io/pause:3.6 “/pause” 2 hours ago Up 2 hours k8s_POD_metrics-server-668d979685-hpcc2_kube-system_d75b8dfc-a9e2-4544-a663-c021442918f8_5 d72d0f85c8ce k8s.gcr.io/pause:3.6 “/pause” 2 hours ago Up 2 hours k8s_POD_traefik-7cd4fcff68-lns28_kube-system_100b515c-01c0-4b83-b237-9359068f37b2_5 bdfae58c8fc8 k8s.gcr.io/pause:3.6 “/pause” 2 hours ago Up 2 hours k8s_POD_svclb-traefik-aedb3f7c-rn9bg_kube-system_edc84ae6-6cdd-4aae-a03b-7827108c411f_5 6933589374ef wordpress:latest “docker-entrypoint.s…” 6 hours ago Up About an hour 0.0.0.0:8080->80/tcp, :::8080->80/tcp wp1-wp-1 3bde41d6b5f1 mysql:latest “docker-entrypoint.s…” 6 hours ago Up 2 hours 127.0.0.1:3306->3306/tcp, 33060/tcp wp1-db-1 paulrandall@Pauls-Mac-mini nginxproxymanager %
w
i would disable kubernetes and traefik if you aren’t using them just to save on resources
b
How do I do that?
I see it. One sec.
w
and proxymanager looks like it is running on 80 so is it not showing that “i am up” page?
b
The fact the whole thing has to restart on each tickbox is annoying eh! They should have a ‘save changes’ button instead. That’s a UX annoyance right there. Not that I’m complaining but a 2012 Mac takes a minute on each click LOL
w
well its a major change to the config of the VM
b
OH. I see. Do you think I just need to configure a reverse proxy from port 80 to port 8080 in the proxy manager then to get the whole thing up and running?
w
well proxymanager is running on 80?
b
Yeah I suppose it would be. I guess if I used one of my M1 Macs it would be instant anyway.
w
you will need to create a rule in proxymanager itself (not docker) I would assume?
so for some subdomain it would redirect to the wordpress on 8080… a different one use 8081
b
Ooh dude. Insane. I turned off kube.. and tra… and now on port 80 I get “Congratulations! You’ve successfully started the Nginx Proxy Manager. If you’re seeing this site then you’re trying to access a host that isn’t set up yet. Log in to the Admin panel to get started.”
I think that’s it.
w
yeah traefik was running as an ingress so that was not helping the situation
b
Is this a private thread?
w
heh no just doesn’t cause the main channel to scroll which is painful for folks
b
New to slack (kind of, I set my account up years ago but didn’t really use it) How do I PM you a working link 🙂 You’ve been a real mensch Justin 😄
119 Views