Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suntorytimed/resourcespace
Docker image for ResourceSpace based on ubuntu:latest including openCV, poppler, php8.1 and php-mysqlnd
https://github.com/suntorytimed/resourcespace
docker docker-compose docker-image opencv php81 poppler resourcespace resourcespace-docker ubuntu ubuntu2004
Last synced: 4 months ago
JSON representation
Docker image for ResourceSpace based on ubuntu:latest including openCV, poppler, php8.1 and php-mysqlnd
- Host: GitHub
- URL: https://github.com/suntorytimed/resourcespace
- Owner: suntorytimed
- License: eupl-1.2
- Archived: true
- Created: 2019-01-03T10:09:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T10:03:03.000Z (12 months ago)
- Last Synced: 2024-09-25T20:06:48.556Z (4 months ago)
- Topics: docker, docker-compose, docker-image, opencv, php81, poppler, resourcespace, resourcespace-docker, ubuntu, ubuntu2004
- Language: Dockerfile
- Homepage:
- Size: 68.4 KB
- Stars: 19
- Watchers: 4
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 UIAnd 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.
# resourcespace-docker
[![Docker Pulls](https://img.shields.io/docker/pulls/suntorytimed/resourcespace?style=flat-square)](https://hub.docker.com/r/suntorytimed/resourcespace)
A docker image for ResourceSpace based on Ubuntu:latest container including OpenCV, poppler and php8.1.
Please report any issues on GitHub: https://github.com/suntorytimed/resourcespace-docker/issues
## docker-compose example
In this example I use a pre-existing nginx proxy using the [nginx-proxy/acme-companion](https://github.com/nginx-proxy/acme-companion) container, which includes a Let's Encrypt/ACME companion to enforce a properly signed https. Please consult the documentation of that container for setup instructions.
```Dockerfile
version: "2"# frontend network for resourcespace using an already existing nginx proxy for Let's Encrypt
# backend network without public accessibility for the database connection
networks:
frontend:
external:
name: acme-proxy-network
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
# links resourcespace to mariadb container and makes it accessible via the URL mariadb
depends_on:
- mariadb-resourcespace
volumes:
- include:/var/www/resourcespace/include
- filestore:/var/www/resourcespace/filestore
# variables for setting up https via the Let's Encrypt/ACME companion
environment:
- HOSTNAME=dam.example.com
- VIRTUAL_HOST=dam.example.com
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=dam.example.com
- [email protected]
# public and private network
networks:
- frontend
- backend
# no port bind necessary due to the nginx proxy
expose:
- 80
mariadb-resourcespace:
image: mariadb
restart: unless-stopped
# env file containing the db configuration
env_file:
- db.env
volumes:
- mariadb:/var/lib/mysql
# only accesible in private network
networks:
- backend
```When using this example, you need to enter `mariadb-resourcespace` as the URL for the database in the initial ResourceSpace setup. You will also have to provide a db.env file in the same folder as your docker-compose.yml:
```
MYSQL_PASSWORD=secure-password
MYSQL_ROOT_PASSWORD=even-more-secure.password
MYSQL_DATABASE=resourcespace
MYSQL_USER=resourcespace
```With this db.env file you set up your mariadb database for ResourceSpace. You will have to enter the login data in the initial ResourceSpace setup. The MySQL binary path in that setup needs to be empty, as ResourceSpace won't be using a local mysql/mariadb installation.