All Projects → dodeeric → omeka-s-docker

dodeeric / omeka-s-docker

Licence: other
Omeka-S in Docker containers.

Projects that are alternatives of or similar to omeka-s-docker

Ansible Role Php
Ansible Role - PHP
Stars: ✭ 396 (+2100%)
Mutual labels:  lamp
Lamp Yum
Yum Install LAMP(Linux + Apache + MySQL/MariaDB + PHP ) for CentOS
Stars: ✭ 93 (+416.67%)
Mutual labels:  lamp
Php Examples For Aws Lambda
Demo serverless applications, examples code snippets and resources for PHP
Stars: ✭ 177 (+883.33%)
Mutual labels:  lamp
Vagrant Lamp
My default LAMP development stack for Vagrant
Stars: ✭ 765 (+4150%)
Mutual labels:  lamp
Open Desk Lamp Firmware
Open source firmware for the xiaomi desk lamp
Stars: ✭ 78 (+333.33%)
Mutual labels:  lamp
Vagrant Php7
A simple Vagrant LAMP setup with PHP 7.1 running on Ubuntu 16.04 LTS
Stars: ✭ 112 (+522.22%)
Mutual labels:  lamp
Ansible Role Apache
Ansible Role - Apache 2.x.
Stars: ✭ 341 (+1794.44%)
Mutual labels:  lamp
Baota
宝塔Linux面板 - 简单好用的服务器运维面板
Stars: ✭ 3,163 (+17472.22%)
Mutual labels:  lamp
Setup
My own front end web development set up, covering everything from operating system to analytics.
Stars: ✭ 93 (+416.67%)
Mutual labels:  lamp
Lnmp
LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RHEL/Fedora/Aliyun/Amazon、Debian/Ubuntu/Raspbian/Deepin/Mint Linux VPS或独立主机安装LNMP(Nginx/MySQL/PHP)、LNMPA(Nginx/MySQL/PHP/Apache)、LAMP(Apache/MySQL/PHP)生产环境的Shell程序。
Stars: ✭ 2,119 (+11672.22%)
Mutual labels:  lamp
Drucker
drucker: Drupal + Docker - Spin up Drupal, Lightning or BLT in seconds.
Stars: ✭ 26 (+44.44%)
Mutual labels:  lamp
Familamp
Cloud-synchronized lamps
Stars: ✭ 59 (+227.78%)
Mutual labels:  lamp
Vagrant Lamp Bootstrap
A super-simple Vagrantfile / bootstrap.sh to setup a LAMP stack inside Vagrant 100% automatically
Stars: ✭ 132 (+633.33%)
Mutual labels:  lamp
Docksal
Unified, Docker 🐳 powered web development environment for macOS, Windows, and Linux
Stars: ✭ 505 (+2705.56%)
Mutual labels:  lamp
Lamp
Install LAMP(Linux + Apache + MySQL/MariaDB + PHP ) for CentOS/Debian/Ubuntu
Stars: ✭ 2,456 (+13544.44%)
Mutual labels:  lamp
Stacker
Stacker - The environment for local web development, ready for use.
Stars: ✭ 356 (+1877.78%)
Mutual labels:  lamp
F3 Boilerplate
PHP7 Fat-Free Framework (http://fatfreeframework.com) example - A skeleton i18n web application which implements an MVC structure ( https://github.com/vijinho/FFMVC ) and includes the files from the https://getbootstrap.com project.
Stars: ✭ 97 (+438.89%)
Mutual labels:  lamp
TwistPHP
A fresh, new PHP MVC framework built from the ground up
Stars: ✭ 27 (+50%)
Mutual labels:  lamp
Lnmp
LEMP stack/LAMP stack/LNMP stack installation scripts for CentOS/Redhat Debian and Ubuntu
Stars: ✭ 2,488 (+13722.22%)
Mutual labels:  lamp
Oneinstack
OneinStack - A PHP/JAVA Deployment Tool
Stars: ✭ 1,983 (+10916.67%)
Mutual labels:  lamp

Omeka-S in Docker containers

Launch the containers

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:

  • Container 1: mariadb (mysql)
  • Container 2: phpmyadmin (connected to container 1)
  • Container 3: omeka-s (connected to container 1)

With your browser, go to:

At that point, you can start configuring your Omeka-S web portal.

Remarks:

  • images will be downloaded automatically from the Docker hub: mariadb:latest, phpmyadmin:latest, dodeeric/omeka-s:latest.
  • for the omeka-s container, /var/www/html/files (media files uploaded by the users) and /var/www/html/config/database.ini (configuration file with the credentials for the db) are put in a named volume and will survive the removal of the container. The mariadb container also puts the data (omeka-s db in /var/lib/mysql) in a named volume. Volumes are hosted in the host filesystem (/var/lib/docker/volumes).

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 

Build a new image (optional)

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

Use Traefik as proxy (optional)

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].