mirror of
https://github.com/parkan/go-hauk.git
synced 2026-05-08 08:47:44 +02:00
make usage snippet copy-pasteable
This commit is contained in:
@@ -24,14 +24,14 @@ docker network create hauk
|
||||
docker run -d --name redis --network hauk redis:alpine
|
||||
|
||||
# generate password hash
|
||||
htpasswd -nbBC 10 "" 'your-password' | tr -d ':\n'
|
||||
export HAUK_PASSWORD_HASH=$(htpasswd -nbBC 10 "" 'your-password' | tr -d ':\n')
|
||||
|
||||
# start hauk (replace hash with output from above)
|
||||
# start hauk
|
||||
docker run -d --name hauk \
|
||||
--network hauk \
|
||||
-p 8080:8080 \
|
||||
-e HAUK_AUTH_METHOD=password \
|
||||
-e HAUK_PASSWORD_HASH='$2y$10$...' \
|
||||
-e HAUK_PASSWORD_HASH \
|
||||
-e HAUK_REDIS_ADDR=redis:6379 \
|
||||
ghcr.io/parkan/go-hauk
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user