Set it up
1
Set the service's variables
- Dub
- Short.io
- Kutt
- LinkDrip
DUB_SHORT_LINK_DOMAIN to a domain you added in Dub to get links on your own name.2
Recreate the container
Recreate the app container so it reads the new values. A plain The database, Redis and Temporal keep running. Avoid
docker restart or
docker compose restart keeps the old container and its old environment.In the folder that holds docker-compose.yaml, recreate only the postqueen service:docker compose down for a settings change: on
a host that runs other Compose services in the same project, it stops them too. On Kubernetes, see
Kubernetes with Helm.3
Try it
Write a post with a link and schedule it. PostQueen asks “Do you want to shortlink the URLs? it will let you get statistics over clicks”. Choose Yes, shortlink it! and the published post carries the short domain.
STRIP_LINKS_FROM_X_POSTS set, X posts lose their links anyway, so their text is not checked for links to shorten.
If PostQueen never asks, the key is not reaching the backend: check the variable name, and that the container was recreated rather than restarted.