The Omeka S Docker Template gives you a Docker Compose repository for running Omeka S. It includes Traefik, MariaDB, and the LibOps Omeka S PHP/nginx image, and is designed to be managed with sitectl-omeka-s.
Docs:
- sitectl installed on the host that will run the site.
sitectl-omeka-sinstalled for Omeka S create, validation, healthcheck, and helper commands.- Docker with the Compose v2 plugin installed on the same host.
Create a new Omeka S site from this template:
sitectl create omeka-s/default \
--template-repo https://github.com/libops/omeka-s \
--path ./my-omeka-s-site \
--type local \
--checkout-source template \
--default-contextThe site is served through Traefik at http://localhost. The first boot creates the database and submits the Omeka S installer automatically. The default admin password is generated in ./secrets/OMEKA_S_ADMIN_PASSWORD.
The omeka-s service builds this checkout on top of the LibOps Omeka S base image. The Dockerfile downloads the pinned Omeka S release, installs Composer dependencies, then copies local modules and themes so Docker can reuse dependency layers when only site customizations change. Local builds use the platform selected by the Docker CLI and do not push images.
Run these from the generated checkout, or add --context <name> when operating from elsewhere.
Start or update the stack with sitectl compose:
sitectl compose up --remove-orphans -dCheck the site and context configuration with sitectl healthcheck and sitectl validate:
sitectl healthcheck
sitectl validateUpdate image tags or pin a full image reference with sitectl image:
sitectl image set --tag omeka-s=nginx-1.30.3-php84
sitectl image set --image omeka-s=libops/omeka-s:nginx-1.30.3-php84@sha256:...Enable local development bind mounts with sitectl set, then apply the component change with sitectl converge:
sitectl set dev-mode enabled
sitectl convergePublish a domain, switch HTTP/TLS mode, configure Let's Encrypt, trust upstream proxies, or tune upload limits with the ingress component:
sitectl set ingress enabled --mode https-custom --domain omeka-s.localhost
sitectl set ingress enabled --mode https-letsencrypt --domain omeka-s.example.org --acme-email ops@example.org
sitectl set ingress enabled --trusted-ip 203.0.113.10/32 --max-upload-size 2G --upload-timeout 10m
sitectl convergeThe ingress component writes INGRESS_HOSTNAMES as comma-separated hostnames and INGRESS_SCHEME as http or https into the app container. Runtime config is rendered from those values during container startup, so generated sites should not carry separate app URL env vars for the same public route.
See the Omeka S sitectl plugin docs for lifecycle operations, API helpers, resource shortcuts, and module maintenance.
The Makefile is intentionally small. It only keeps template-specific targets that are not core sitectl operations:
sitectl deploy
make test
make lintUse sitectl compose ... and sitectl set ... directly for normal stack operations.
traefikis the only published ingress.omeka-sis built from this repository and based on the LibOps Omeka S PHP/nginx image.mariadbstores application data.omeka-s-filespersists uploaded files.- Secrets are generated into
./secrets/.
PHP mail() is routed through msmtp. By default, Omeka S relays through the Docker host so production delivery can use the host MTA and LibOps relay path.
The Docker Compose template and LibOps-specific setup in this repository are licensed under the MIT License. Omeka S is licensed separately under the GNU General Public License v3; see LICENSE.omeka-s.