diff options
| author | diogo464 <[email protected]> | 2025-08-11 11:51:39 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-08-11 11:51:39 +0100 |
| commit | 4af66f418b6837b6441b4e8eaf2d8ede585238b9 (patch) | |
| tree | 34a4e913a2848515166b2ac0489794419a33bfcc /tinyauth.sh | |
| parent | 0d3488a3811c8d58bd570af64cc29840df9ba439 (diff) | |
snapshot
Diffstat (limited to 'tinyauth.sh')
| -rwxr-xr-x | tinyauth.sh | 6 |
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 |
| 4 | podman run --rm -it \ | 4 | trap 'podman stop tinyauth' EXIT |
| 5 | |||
| 6 | podman 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' \ |
