diff options
| author | diogo464 <[email protected]> | 2025-08-13 15:04:06 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-08-13 15:04:06 +0100 |
| commit | ff6a894cd837370a1754bc17cda060c4bfd990e3 (patch) | |
| tree | e41cae3e946f60637aa7b1ecdd5ee47ab2e81819 | |
| parent | a2b053db140d8db57c73dccc18c1b37a8f0372e6 (diff) | |
updated Justfile with deployment recipes
| -rw-r--r-- | Justfile | 19 |
1 files changed, 19 insertions, 0 deletions
| @@ -18,3 +18,22 @@ logs: | |||
| 18 | 18 | ||
| 19 | tail: | 19 | tail: |
| 20 | demon tail -f dev | 20 | demon tail -f dev |
| 21 | |||
| 22 | deploy-frontend: build | ||
| 23 | #!/usr/bin/env bash | ||
| 24 | source prod.env | ||
| 25 | cd frontend | ||
| 26 | npm run build | ||
| 27 | npm run start | ||
| 28 | |||
| 29 | deploy-tinyauth: | ||
| 30 | #!/usr/bin/env bash | ||
| 31 | source prod.env | ||
| 32 | podman run --rm -i \ | ||
| 33 | --name tinyauth \ | ||
| 34 | --network host \ | ||
| 35 | -e PORT=3001 \ | ||
| 36 | -e SECRET="$TINYAUTH_SECRET" \ | ||
| 37 | -e APP_URL="$TINYAUTH_APP_URL" \ | ||
| 38 | -e USERS="$TINYAUTH_USERS" \ | ||
| 39 | ghcr.io/steveiliop56/tinyauth:v3 | ||
