diff options
Diffstat (limited to 'Justfile')
| -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 | ||
