• 1 Post
  • 81 Comments
Joined 2 years ago
cake
Cake day: April 24th, 2023

help-circle
  • Well first off swarm doesn’t work with environment variables, so if you pass any in you’re going to need to pipe the output of docker compose read into docker swarm service create.

    Your port settings are gonna give it a problem too, swarm doesn’t support that new syntax, and as a result you can only assign a single network interface to a service.

    Regarding networking, since the whole paradigm is that you’re not defining a single container but a service that can live/move across multiple nodes; any traffic to any node in your swarm will be routed (round robin style) across the copies of that service. (This makes logging setup a PITA, ask me how I know!)

    Bind mounts aren’t recommended, volumes are preferred. Otherwise everything needs to be mirrored across all nodes, depends on the use case.

    That being said I’m not convinced that swarm is the right answer here, I concur with @talentedkiwi@sh.itjust.works. You should just install pangolin on your second machine.




  • How are you selecting feeds to download? If you use a cloud/self hosted RSS service you can get a feed of articles you star. From there you can use a desktop feed reader to download the starred feed to your kindle:

    1. Calibre can download news articles as .epub files, and supports transferring them to the kindle via USB. It can extract webpage text from non full-content feeds in a customizable way with Python.

    2. KOreader’s RSS feature stores feed items as .epub files as well, but it’s not as customizable. It does support full text extraction, but you don’t get any options to customize the output as far as I can tell.









  • Ope sorry, right now I just have the serve config doing a redirect of port 22, however when I try to SSH in I get rejected by tailscale ACL. Says there’s no user named git.

    If I followed the steps for the vanilla docker setup I’d add a git user to the host and softlink the host authorized_keys file to the gogs container’s version, as well as add a shim script to forward the command into the container using the docker exec command, but I’d rather not do that by mucking about in the sidecar if there’s a better way. The tailscale universal docker mod for linuxserver.io says they have ssh access for their containers but as far as I can tell it just pops in the --ssh flag in tailscale up.