mirror of
https://github.com/RickeyWard/PersonalAssetsTracker.git
synced 2026-12-01 03:50:59 +00:00
Webapp for tracking personal assets
- TypeScript 95.9%
- CSS 2.6%
- Shell 1%
- JavaScript 0.3%
- Dockerfile 0.1%
- Other 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Dockerfile: bump BUN_VERSION 1.1.0 -> 1.4.3; bullseye is EOL and its
security repo now 404s, breaking apt-get. Drop the apt build-tools step,
no deps need native compilation (sharp/argon2 ship prebuilt binaries).
- uploads: toFormat("input") is not a valid sharp format, so resizing
without Accept: image/webp returned 500. Only convert when webp.
- add scripts/smoke-test.sh: builds image, runs postgres + migrations,
exercises auth, uploads, resize and asset CRUD endpoints.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
| backend | ||
| deploy-scripts | ||
| gui | ||
| scripts | ||
| .gitignore | ||
| deno.json | ||
| deno.lock | ||
| Dockerfile | ||
| README.md | ||
PersonalAssetsTracker
Webapp for tracking personal assets
for Rickey use! How to build and deploy
deno task build-and-deploy
# build image (that also builds project)
docker build -t passett-beta:latest .
# send the image to my docker host
docker save passett-beta:latest | ssh root@192.168.0.13 'docker load'
docker compose for deploy in lab
version: '3'
services:
passett:
container_name: passett
image: passett-beta:latest
ports:
# The HTTP port
- "32375:3000"
restart: unless-stopped
labels:
# https
- 'traefik.enable=true'
- 'traefik.http.routers.passett.rule=Host(`assets.diamonddrake.com`)||Host(`assets.ha.diamonddrake.com`)'
- 'traefik.http.routers.passett.entrypoints=websecure'
- 'traefik.http.routers.passett.tls=true'
- 'traefik.http.routers.passett.tls.certresolver=letsencrypt'
# redirect from http
- 'traefik.http.routers.passett-http.entrypoints=web'
- 'traefik.http.routers.passett-http.rule=Host(`assets.diamonddrake.com)||Host(`assets.ha.diamonddrake.com`)'
- 'traefik.http.routers.passett-http.middlewares=wordpress-http-redirect-web-secure'
- 'traefik.http.middlewares.wordpress-http-redirect-web-secure.redirectscheme.scheme=https'
environment:
TZ: 'America/New_York'
# DB_CONNECTION_STRING: 'postgres://postgresuser:postgresspassword@192.168.0.13:5432/assets'
networks:
traefik_default:
networks:
traefik_default:
external: true