Shlink is really easy to set up quickly. The big drawback of their default docker setup instructions is: everything is gone when the container is recreated i.e. updated. Of course, I like my containers up-to-date, so I use watchtower to automate this. Surprise surprise, all my links are now gone. My fault. After feeling like an idiot for a while, I looked around and found a nice pre-made docker-compose file that uses shlink and mariadb, with a bind-mount for data. I found the original tutorial here: https://community.hetzner.com/tutorials/install-shlink-docker . Thanks to the Hetzner community. In short, the compose file looks like this: This compose file lets you easily run a short-link solution for yourself (and others?). To add an API key for the web admin panel, run this command in the container (either via docker exec or portainer -> console -> sh): To import a csv file with links, just put

Read More