|
|
|
|
|
by dizhn
586 days ago
|
|
I can already directly access the docker network because it's in the allowedips setting of wireguard. But for convenience, yes, when I do get a docker-compose.yml file I change 127.0.0.1 IPs to that of the wireguard interface IP. (I can leave 0.0.0.0 IPs as is because this host does not have a public IP) This way I am exposing the ports, but I am exposing them in a way that they are not world-accessible but still accessible to me conveniently. For services open to the public internet I just add a subdomain + a reverse proxy entry into an existing caddy instance and point to the docker IP. |
|