summaryrefslogtreecommitdiff
path: root/tinyauth.sh
blob: 17eb0e9ee5d03254aa860e75d96aa04ad644f505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

# user:password
trap 'podman stop tinyauth' EXIT

podman run --rm -i \
    --name tinyauth \
    --network host \
    -e PORT=3001 \
    -e SECRET='some-random-32-chars-string11111' \
    -e APP_URL='http://10.0.0.3:3000' \
    -e USERS='user:$$2a$$10$$UdLYoJ5lgPsC0RKqYH/jMua7zIn0g9kPqWmhYayJYLaZQ/FTmH2/u' \
    ghcr.io/steveiliop56/tinyauth:v3