suntorytimed/resourcespace

By suntorytimed

Updated over 2 years ago

A docker image for ResourceSpace based on latest Ubuntu including OpenCV, poppler and php8.1

Image
8

100K+

suntorytimed/resourcespace repository overview

resourcespace-docker

Docker Pulls

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/issues

docker-compose example

In this example I use the pre-existing nginx proxy of my Nextcloud instance, which also includes a Let'sEncrypt companion to enforce https.

version: "2"

# frontend network for resourcespace using the already existing nginx proxy of Nextcloud
# backend network without public accessibility for the database connection
networks:
  frontend:
    external:
      name: fpm_proxy-tier
  backend:
  
# for some reason using a local mountpoint results in an HTTP error 500
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
    volumes:
      - include:/var/www/resourcespace/include
      - filestore:/var/www/resourcespace/filestore
    # variables for setting up https via the Let'sEncrypt 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:
    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

Tag summary

Content type

Image

Digest

sha256:565a8dace

Size

516 Bytes

Last updated

over 2 years ago

docker pull suntorytimed/resourcespace:sha256-222168d55f1fb421b4b52365e48ef234c35f332ce31b5de513fa8ddd7e483849.sig