Some docs for container stuff
This commit is contained in:
parent
f7af7f2e28
commit
c35a8b5c2a
28
README.md
28
README.md
|
@ -12,6 +12,34 @@ A "useful" tool for turning hyperlinks into redirects in the name of shortening
|
||||||
|
|
||||||
./bin/hyperlink-redirect
|
./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
|
## TODO
|
||||||
|
|
||||||
1. Why does 'hyperlink' linger even for subsequent GET requests from different clients??
|
1. Why does 'hyperlink' linger even for subsequent GET requests from different clients??
|
||||||
|
|
Loading…
Reference in a new issue