services: koillection: image: koillection/koillection container_name: koillection restart: unless-stopped ports: - 5645:80 env_file: - .env depends_on: - db volumes: - /mnt/user/appdata/koillection/uploads:/uploads labels: net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/koillection.png" net.unraid.docker.webui: "https://koillection.homecube.org" folder.view2: "Services" db: image: postgres:16 container_name: db restart: unless-stopped env_file: - .env environment: - POSTGRES_DB=${DB_NAME} - POSTGRES_USER=${DB_USER} - POSTGRES_PASSWORD=${DB_PASSWORD} volumes: - /mnt/user/appdata/koillection/postgresql:/var/lib/postgresql/data labels: net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/postgresql.png" folder.view2: "Databases"