Omeka-S web publishing platform for digital heritage collections. See: https://omeka.org/s/.
50K+
Install Docker and Docker-compose on your host (can be a physical or virtual machine).
Download the file "docker-compose.yml".
From the directory containing the "docker-compose.yml" file:
$ sudo docker-compose up -d
This will deploy three Docker containers:
With your browser, go to:
At that point, you can start configuring your Omeka-S web portal.
Remarks:
To stop the containers:
$ sudo docker-compose stop
To remove the containers:
$ sudo docker-compose rm
Remark: this will NOT delete the volumes (omeka and mariadb). If you launch again "sudo docker-compose up -d", the volumes will be re-used.
To login into a container:
$ sudo docker container exec -it <container-id-or-name> bash
If you want to modify the omeka-s image (by changing the Dockerfile file), you will need to build a new image:
E.g.:
$ git clone https://github.com/dodeeric/omeka-s-docker.git
$ cd omeka-s-docker
Edit the Dockerfile file.
Once done, build the new Docker image:
$ sudo docker image build -t foo/omeka-s:1.0.1-bar .
$ sudo docker image tag foo/omeka-s:1.0.1-bar foo/omeka-s:latest
Upload the image to your Docker hub repository:
Login in your account (e.g. foo) on hub.docker.com, and create a repository "omeka-s", then upload your customized image:
$ sudo docker login --username=foo
$ sudo docker image push foo/omeka-s:1.0.1-bar
$ sudo docker image push foo/omeka-s:latest
If you want to access all your web services on port 80 (or 443), you can use the Traefik reverse proxy and load balancer.
Here we have 3 web servers running (phpmyadmin, omeka-s, gramps). All are reachable on port 80 after launching this command:
$ sudo docker-compose -f docker-compose-traefik.yml up -d
All xxx.dodeeric.be dns names are directed to the Traefik container which will proxy them to the corresponding service container. The xxx.dodeeric.be dns names have to point to the IP of the Docker host.
With your browser, go to: (dodeeric.be is replaced by your dns domain; e.g. mydomain.com)
Traefik has a management web interface: http://hostname:8080
Only the Traefik container exposes its TCP ports (80, 443, 8080) on the Docker host; the service containers run on the private "network1" network.
Content type
Image
Digest
Size
323.1 MB
Last updated
about 7 years ago
docker pull dodeeric/omeka-s