summaryrefslogtreecommitdiff
path: root/tinyauth.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tinyauth.sh')
-rwxr-xr-xtinyauth.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tinyauth.sh b/tinyauth.sh
index 72f9d84..17eb0e9 100755
--- a/tinyauth.sh
+++ b/tinyauth.sh
@@ -1,8 +1,12 @@
1#!/usr/bin/env bash 1#!/usr/bin/env bash
2 2
3# user:password 3# user:password
4podman run --rm -it \ 4trap 'podman stop tinyauth' EXIT
5
6podman run --rm -i \
7 --name tinyauth \
5 --network host \ 8 --network host \
9 -e PORT=3001 \
6 -e SECRET='some-random-32-chars-string11111' \ 10 -e SECRET='some-random-32-chars-string11111' \
7 -e APP_URL='http://10.0.0.3:3000' \ 11 -e APP_URL='http://10.0.0.3:3000' \
8 -e USERS='user:$$2a$$10$$UdLYoJ5lgPsC0RKqYH/jMua7zIn0g9kPqWmhYayJYLaZQ/FTmH2/u' \ 12 -e USERS='user:$$2a$$10$$UdLYoJ5lgPsC0RKqYH/jMua7zIn0g9kPqWmhYayJYLaZQ/FTmH2/u' \