From c35a8b5c2a790beca3f6f7a0ab9a93dd2ce22e32 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sun, 8 Oct 2023 00:06:08 -0400 Subject: [PATCH] Some docs for container stuff --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 7c1ecd9..274f90e 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,34 @@ A "useful" tool for turning hyperlinks into redirects in the name of shortening ./bin/hyperlink-redirect +## Container stuff + +### Build + + podman build -t hyperlink-redirect . + +### Tag + + podman tag hyperlink-redirect \ + git.minimally.online/swaggboi_priv/hyperlink-redirect + +### Push + + podman push git.minimally.online/swaggboi_priv/hyperlink-redirect + +### Pull + + podman pull git.minimally.online/swaggboi_priv/hyperlink-redirect + +### Run + + podman run -dt --rm --name hyperlink-redirect -p 3003:3000 \ + hyperlink-redirect + +### Generate unit file + + podman generate systemd --files --new --name hyperlink-redirect + ## TODO 1. Why does 'hyperlink' linger even for subsequent GET requests from different clients??