Request for koillection

koillection is a collection manager website. any kind of collections.

Hi @Merlin and welcome back!

I play with it couple of hours.

There is almost working yaml file, which You can import to CasaOS. I have only problem with:

  • openssl command, which generate me APP_SECRET. I simply do not know, hot it works… How to run command inside container and output put to CasaOS env. variable
  • select big-bear-koillection-network for both: app and database. When You import yaml, bridge is selected.

If someone solve these two point, I can make PR to repo.

Yaml:

name: big-bear-koillection
services:
    #FPM image
    big-bear-koillection:
        container_name: big-bear-koillection
        image: koillection/koillection:1.8.0
        restart: unless-stopped
        ports:
            - 10081:80
        environment:
            - APP_ENV=prod
            - APP_DEBUG=0
            - DB_DRIVER=pdo_pgsql
            - DB_NAME=koillection
            - DB_HOST=big-bear-koillection-postgresql
            - DB_PORT=5432
            - DB_USER=postgres
            - DB_PASSWORD= #You can generate by openssl rand -hex 32
            - APP_SECRET= #generate by openssl rand -hex 32
            - DB_VERSION=15
            - PHP_TZ=Europe/Prague
            - HTTPS_ENABLED=0
        volumes:
            - "/DATA/AppData/big-bear-koillection/public/uploads:/var/www/koillection/public/uploads"
            - "/DATA/AppData/big-bear-koillection:/var/www/koillection"
        network:
            - big-bear-koillection-network

    big-bear-koillection-postgresql:
        container_name: big-bear-koillection-postgresql
        image: postgres:18
        environment:
            - POSTGRES_DB=koillection
            - POSTGRES_USER=postgres
            - POSTGRES_PASSWORD= # generated above
        volumes:
            - "/DATA/AppData/big-bear-koillection/postgresql:/var/lib/postgresql/"
        network:
            - big-bear-koillection-network

x-casaos:
  # Supported CPU architectures for this application
  architectures:
    - amd64
    - arm64
  # Main service for this application
  main: big-bear-koillection
  # Detailed description for the application
  description:
    en_us: Koillection is a self-hosted service allowing users to manage any kind of collections. 
  # Brief tagline for the application
  tagline:
    en_us: big-bear-koillection
  # Developer's information
  developer: koillection
  # Author of this particular configuration
  author: BigBearTechWorld
  # Icon URL for the application
  icon: https://cdn.jsdelivr.net/gh/bigbeartechworld/big-bear-universal-apps/apps/_example/logo.jpg
  # Thumbnail image for the application (if any)
  thumbnail: ""
  # Installation tips
  tips:
    before_install:
      #en_us: |
        #Read this before installing: https://community.bigbeartechworld.com/t/added-eufy-security-ws-to-bigbearcasaos/2228
  # Title for the application
  title:
    en_us: Koillection
  # Category under which the application falls
  category: BigBearCasaOS
  # Default port mapping for the application
  port_map: "10081"

networks:
  big-bear-koillection-network:
    name: big-bear-koillection-network
    driver: bridge

It’s good you found this. The example I found links to an env file which I don’t know how to make in casa. (I’m somewhat of a novice at this stuff) . I assumed the app secret is something the admin would generate separately and plug it into the yaml I’m guessing. I’ll see what I can do here.