this post was submitted on 25 Feb 2025
1 points (100.0% liked)

Self-Hosted Alternatives to Popular Services

223 readers
1 users here now

A place to share, discuss, discover, assist with, gain assistance for, and critique self-hosted alternatives to our favorite web apps, web...

founded 2 years ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/ZeroNoPro on 2025-02-25 17:41:37+00:00.


I am releasing the first beta test of my Asset management system.

First this is not a production ready system yet. However, I wanted to get some feed back since most of the core features are ready:

  • QR Scanner which lead the user to item, which is meant to be used with a label printer.
  • Location, Tag and Categories
  • Team system and team invite by mail only. // Hoping to make a shareable link in the future
  • Kit system that user can add assets to make a kit.
  • Status system for both Kit and Assets.

My next steps are to finish making a usable dashboard and upgrading the ui/ux. I also want to improve the docker image and fully automate the deployment since it's only semi automated.

I might not be able to make fast changes since I am in my last year to get my CS degree.

How to install:

IMPORTANT: you will have to do a manual migrate after installing or it will not work aka you will get an error when registering/login "500 SERVER ERROR". Command is under the docker compose code block

I have made a docker compose to make it easier to run:

Make sure to change it and remove comments.

services:
  db:
    image: 'postgres:17'
    container_name: ASSET-DB
    hostname: asset-db
    security_opt:
      - 'no-new-privileges:true'
    healthcheck:
      test:
        - CMD
        - pg_isready
        - '-q'
        - '-d'
        - asset
        - '-U'
        - assetuser
      timeout: 45s
      interval: 10s
      retries: 10
    volumes:
      - ./db:/var/lib/postgresql/data
    environment:
      POSTGRES_DB: asset 
      POSTGRES_USER: assetuser // change this
      POSTGRES_PASSWORD: assetpass // change this
    restart: 'on-failure:5'
  asset:
    image: 'zurielbax/asset-rpo:latest'
    container_name: asset
    ports:
      - "80:80"
    volumes:
      - './asset/data:/data:rw'
      - './asset/conf:/conf:rw'
    environment:
      PHP_TZ: America/New_York
      TIMEZONE: America/New_York
      PUID: 1000
      PGID: 1000
      APP_NAME: Asset RPO
      APP_KEY: 'base64:PqkYgeKqq3hdHZTvL6ENXdhgyyoCDZYj9wofOcw0l4o=' // change this/create your own
      APP_ENV: production
      APP_DEBUG: false
      APP_URL: 'https://rpo.com/' // change this to your domain
      ASSET_URL: 'https://rpo.com/' // change this to your domain
      DB_CONNECTION: pgsql
      DB_HOST: db
      DB_PORT: 5432
      DB_DATABASE: asset
      DB_USERNAME: assetuser // change this to what you set to POSTGRES_USER
      DB_PASSWORD: assetpass // change this to what you set to POSTGRES_PASSWORD
      DB_PASSWORD_FILE: rootpass // change this
      CACHE_STORE: file
      SESSION_DRIVER: file
      SESSION_LIFETIME: 240
      SESSION_ENCRYPT: true
      SESSION_PATH: /
      SESSION_DOMAIN: 'rpo.com' // change this to your domain
      SANCTUM_STATEFUL_DOMAINS: 'rpo.com' // change this to your domain
      STARTUP_DELAY: 5
      TRUSTED_PROXIES: '*'
      MAIL_MAILER: smtp // change this to your mail provider to be able to add user to team and reset password
      MAIL_HOST: '${MAIL_HOST:-smtp.mailtrap.io}'
      MAIL_PORT: '${MAIL_PORT:-2525}'
      MAIL_USERNAME: '${MAIL_USERNAME}'
      MAIL_PASSWORD: '${MAIL_PASSWORD}'
      MAIL_ENCRYPTION: '${MAIL_ENCRYPTION:-tls}'
      MAIL_FROM_ADDRESS: '${MAIL_FROM_ADDRESS:-noreply@rpo.com}'
      MAIL_FROM_NAME: '${MAIL_FROM_NAME:-"Asset RPO"}'
    restart: 'on-failure:5'
    depends_on:
      db:
        condition: service_healthy

Manually do migrate

docker exec your_container_name php artisan migrate

or if in the container already

php artisan migrate

More Background Story:

buymeacoffee.com/zbax/i-created-asset-management-system-like-shelf-nu-i-wanted-self-hosted

for any updates look at the links below

EDIT: updated image on label example

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here