GithubHelp home page GithubHelp logo

suntorytimed / resourcespace Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 11.0 70 KB

Docker image for ResourceSpace based on ubuntu:latest including openCV, poppler, php8.1 and php-mysqlnd

License: European Union Public License 1.2

Shell 4.53% Dockerfile 95.47%
resourcespace resourcespace-docker opencv docker-image poppler ubuntu ubuntu2004 php81 docker docker-compose

resourcespace's People

Contributors

suntorytimed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

resourcespace's Issues

Error

Hello Suntory,

When I try to do docker-compose up --build I receive below error

ERROR: Couldn't find env file: C:\Users\yasse\Downloads\resourcespace-docker-master\db.env

How to do the setup?!

Thanks

EOL announcement

As I don't have time to continue maintaining this container and resolving issues, I will have to announce the EOL of this container with the next version 10.3 of ResourceSpace.

I never expected others to use this container for their deployments of ResourceSpace. For myself, it was just a side project to run my instance in a container instead of bare metal. But I stopped using ResourceSpace quite some time ago and meanwhile switched to using PhotoPrism® for several reasons:

  • actual development community fostering collaboration and not just one company maintaining the project on an SVN server
  • solid and more modern code base
  • transparent roadmap, issues and communication channels
  • AI functionality better suited for personal use
  • intuitive UI

And since PhotoPrism can offer me the one killer feature I began using ResourceSpace for (stacking different versions of the same photo with JPEG and RAW sharing one entity) I don't see a benefit in ResourceSpace for my personal use case.

If anybody wants to step up and take over the maintenance, please do so. As with every Open Source project you are free to fork and continue using the codebase. I will put the repository on archived after the release of the last 10.3 container.

QNAP TS-251A container install

Hi there, im pretty sure im so newbie with thso containers, but wuen i install yoru conatiner in Container station of a Qnap, guess miss mariadb service so i reach to the resourcespace config page but cant connect with database

any help?

Blank installation

When I execute your docker, it does load a resourcespace setup page to input the database and admin information but after I clicked install, it redirect me to a blank page.

Any idea why it loads the setup page fine but installation is redirected to a blank page?

Binding Volumes On Host Not Working

I'm not having any success mapping the two volumes (filestore and include) to my host machine. The include folder has all of the expected files within the container, but when you try to map volumes on a host machine, nothing happens to the directories and when the container gets updated, all your files get lost.

Updates for the Readme

Hi @suntorytimed!

I came across resourcespace as a DAM and saw your repo (with 100k+ pull congrats!). While I was able to get things going, I encountered some of the same problems seen in other issues (#4 and #3 specifically). Below are some thoughts that could be incorporated into the readme to help future users!

Looking at your docker-compose.yml as well as this one https://github.com/yakob-aleksandrovich/resourcespace-docker/blob/master/docker-compose.yml I came up with

version: "3.7"

networks:
  frontend:
  backend:

# Trying to use bind volumes directly resulted in a 500 error, but using named volumes worked
volumes:
  mariadb:
  include:
  filestore:

services:
  resourcespace:
    image: suntorytimed/resourcespace:latest
    restart: unless-stopped
    depends_on:
      - mariadb-resourcespace
    volumes:
      - include:/var/www/html/include
      - filestore:/var/www/html/filestore

    networks:
      - frontend
      - backend
    ports:
      - 4080:80  # I changed the external port to 4080 for Caddy, my reverse proxy tool

  mariadb-resourcespace:
      container_name: mariadb-resourcespace
      restart: always
      environment:
          - PUID=1000
          - PGID=1000
          - MYSQL_ROOT_PASSWORD={password}
      volumes:
          - mariadb:/config
      image: lscr.io/linuxserver/mariadb
      networks:
        - backend

# connect to the mariadb container terminal with docker exec -it mariadb-resourcespace bash then run mysql -u root -p and use the root password from earlier.

# CREATE USER 'maria-resourcespace-user' IDENTIFIED by '{password}';
# CREATE DATABASE IF NOT EXISTS resourcespace;
# GRANT ALL PRIVILEGES ON resourcespace.* TO 'maria-resourcespace-user' IDENTIFIED BY '{password}';

in #3 The person didn't have the db.env file. Since I already had a mariadb docker from another project I copied it over, as well as my notes for setting it up.

in #4 you were right that the issue was having an incorrect address for the mariadb database. The trick was to use the name of the container / service - in my case that was mariadb-resourcespace. I put in the maria username and password that I did in bash above, fixed the baseurl for my caddy purposes, and had to remove the /usr/bin from the MySQL binary path line.
With all that done I clicked begin installation and was able to start setting resourcespace up!

CleanShot 2023-01-12 at 17 23 35@2x

My Caddyfile was pretty simple, and I didn't run into issues in my limited testing

{
  email [email protected]
}

resourcespace.mydomain.net {
  reverse_proxy /* localhost:4080 {
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.