Sign inSign up

giocomai/omeka-s-docker

By giocomai

•Updated 2 months ago

A docker image for Omeka S keeping only core parts of Omeka S (no modules and such)

Image
5

10K+

giocomai/omeka-s-docker repository overview

See the repository with the Dockerfile: https://github.com/giocomai/omeka-s-docker⁠

The core idea of this image is to be used to pre-generate config, module, and themes, folder but then let them exist independently: you should update modules, themes, etc., on your own.

You should then be able to update Omeka just by using the appropriate tag of the Docker image, leaving all your files where they are, and run the update procedure.

N.B. Don't trust me on this, do make backups! :-)

To do backups of the database, if you use something like the docker-compose you have below, you may add to your cron something along these lines:

docker exec omeka_db sh -c 'exec mysqldump --databases put_database_name_here -uroot -p"$MYSQL_ROOT_PASSWORD"' > /full/path/to/backup/folder/$(date +\%Y-\%m-\%d_\%H\%M)_omeka_dump.sql

To edit cron, you can use crontab -e , and add the above line with something like 0 4 * * * at the beginning if you want the backup process to run everyday at 4 am, for example.

For examples of "docker-compose.yml" files, see the repository on GitHub. More specifically:

Just change the version of Omeka S adjusting the tag version in the relevant line of docker-compose.yml and you should be good to go.

Tag summary

Content type

Image

Digest

sha256:89169955b…

Size

361.3 MB

Last updated

7 months ago

docker pull giocomai/omeka-s-docker