diff --git a/README.md b/README.md index 1f237ad..a01ba6d 100644 --- a/README.md +++ b/README.md @@ -629,6 +629,23 @@ ssh CONTAINER_IP With keys-based auth: TODO +### Webdev + +#### Accessing dev sites running inside container + +In container: `doas apk add squid`, and edit `/etc/squid/squid/conf` accordingly +(most likely you'll only need to change local network definition to match the subnet shared between the host and the container). + +Then: +``` +doas rc-update add squid +doas rc-service squid start +``` + +(Note that squid requires devfs service to be running). + +In host, create new FF profile (`about:profiles`) for that purpose, and configure it to use squid proxy running inside of container. + ### Docker For container terminal apps to be usable: