suntorytimed / resourcespace Goto Github PK
View Code? Open in Web Editor NEWDocker image for ResourceSpace based on ubuntu:latest including openCV, poppler, php8.1 and php-mysqlnd
License: European Union Public License 1.2
Docker image for ResourceSpace based on ubuntu:latest including openCV, poppler, php8.1 and php-mysqlnd
License: European Union Public License 1.2
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
Version 10.1 has been release this february
https://www.resourcespace.com/versions
Can this image be updated to support this version?
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:
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.
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?
docker/build-push-action#671 is currently blocking the usage of a matrix to separate the builds for each platform and increase the efficiency and speed of rebuilds. Once this is supported the GitHub Actions should be adjusted accordingly, as it saves 30 minutes on amd64 images and 20 minutes on the slowest riscv64 platform.
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?
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.
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!
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 {
}
}
Please consider to replace 'resourcespace:latest' to 'suntorytimed/resourcespace:latest' in the docker-compose.yml-file https://github.com/suntorytimed/resourcespace/blob/master/docker-compose.yml
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.