A personal portfolio tracker.
# install dependencies
npm login --registry https://npm.pkg.github.com
npm ci# run database and create test data
docker compose up -d postgres
npm run start -- create-user --email test@test.com --password testtest --demo-portfolio# run dev server
npm run start:dev# docker-compose.yaml
services:
ownfolio:
image: 'ghcr.io/ownfolio/ownfolio:latest'
ports:
- '3000:3000'
environment:
PGHOST: 'postgres'
PGDATABASE: 'ownfolio'
PGUSER: 'ownfolio'
PGPASSWORD: 'ownfolio'
USER_REGISTRATION_ENABLED: '1'
depends_on:
- postgres
postgres:
image: 'postgres:15'
ports:
- '5432:5432'
environment:
POSTGRES_DB: 'ownfolio'
POSTGRES_USER: 'ownfolio'
POSTGRES_PASSWORD: 'ownfolio'See here.