2847 shaares
5 private links
5 private links
UPDATE: It appears that there’s now a “Worker Service” template available (thanks Hobby Developer) which scaffolds Dependency Injection, configuration and logging for you. If you wnat a long running service then that’s probably the best option but if you want an intermitantly triggered executable that does a defined task and then closes my solution is still probably preferable.
Now I can access Jackett at http://<host-ip>:9117 and all traffic will be sent through the VPN container's network!
On the Python market, there are few other libraries for DI which look promising.
This enables a container to attach to your host’s network (meaning the configuration inside the container matches the configuration outside the container).