COmanage Registry PE container image
9.6K
This repository provides a containerized setup for running COmanage Registry with Apache, PHP-FPM, and supporting configuration for TLS and Shibboleth SP integration.
Example environment section:
services:
comanage-registry:
environment:
# Role
- COMANAGE_ROLE=web
# General
- COMANAGE_DEBUG=1
- COMANAGE_REGISTRY_CONTAINER=1
- ENV=dev
- USERTOKEN=team-x
# URL/Apache
- COMANAGE_REGISTRY_URL_PATH=registry-pe
- COMANAGE_REGISTRY_VIRTUAL_HOST_FQDN=registry.example.org
- HTTPS_CERT_FILE=/run/secrets/https_cert_file
- HTTPS_PRIVKEY_FILE=/run/secrets/https_privkey_file
# Admin bootstrap
- COMANAGE_REGISTRY_ADMIN_GIVEN_NAME=Registry
- COMANAGE_REGISTRY_ADMIN_FAMILY_NAME=Admin
- COMANAGE_REGISTRY_ADMIN_USERNAME=registry.admin
- COMANAGE_REGISTRY_SECURITY_SALT_FILE=/run/secrets/security_salt
# Database
- COMANAGE_REGISTRY_DATABASE_DRIVER=Cake\Database\Driver\Postgres
- COMANAGE_REGISTRY_DATABASE_HOST=database
- COMANAGE_REGISTRY_DATABASE=registry
- COMANAGE_REGISTRY_DATABASE_USER=registry_user
- COMANAGE_REGISTRY_DATABASE_USER_PASSWORD_FILE=/run/secrets/db_password
- COMANAGE_REGISTRY_DATABASE_PORT=5432
- COMANAGE_REGISTRY_DATABASE_PERSISTENT=false
# Email
- COMANAGE_REGISTRY_EMAIL_TRANSPORT=Smtp
- COMANAGE_REGISTRY_EMAIL_HOST=smtp.example.org
- COMANAGE_REGISTRY_EMAIL_PORT=587
- COMANAGE_REGISTRY_EMAIL_TLS=true
- [email protected]
- COMANAGE_REGISTRY_EMAIL_ACCOUNT_PASSWORD_FILE=/run/secrets/email_password
- [email protected]
- COMANAGE_REGISTRY_EMAIL_FROM_NAME=COmanage Registry
URL Path (routing and on-disk symlink):
Logging (stdout/stderr vs file logs):
Full list of environment variables:
The container supports three logging modes. Choose based on how you want to consume logs (files vs container stdout/stderr).
Notes:
This image supports two runtime roles, selected via the COMANAGE_ROLE environment variable.
Web (default)
Cron
Example docker-compose snippet:
services:
comanage-cron:
image: i2incommon/comanage-registry:latest
environment:
# Role
- COMANAGE_ROLE=cron
# General
- COMANAGE_DEBUG=1
- COMANAGE_REGISTRY_CONTAINER=1
# Optional: override crontab path or cron user
# - COMANAGE_REGISTRY_CRONTAB=/srv/comanage-registry/local/crontab
# - COMANAGE_REGISTRY_CRON_USER=apache
# Database (should match the web service)
- COMANAGE_REGISTRY_DATABASE_DRIVER=Cake\Database\Driver\Postgres
- COMANAGE_REGISTRY_DATABASE_HOST=database
- COMANAGE_REGISTRY_DATABASE=registry
- COMANAGE_REGISTRY_DATABASE_USER=registry_user
- COMANAGE_REGISTRY_DATABASE_USER_PASSWORD_FILE=/run/secrets/db_password
- COMANAGE_REGISTRY_DATABASE_PORT=5432
- COMANAGE_REGISTRY_DATABASE_PERSISTENT=false
# Email (same config as web, so cron jobs can send mail)
- COMANAGE_REGISTRY_EMAIL_TRANSPORT=Smtp
- COMANAGE_REGISTRY_EMAIL_HOST=smtp.example.org
- COMANAGE_REGISTRY_EMAIL_PORT=587
- COMANAGE_REGISTRY_EMAIL_TLS=true
- [email protected]
- COMANAGE_REGISTRY_EMAIL_ACCOUNT_PASSWORD_FILE=/run/secrets/email_password
- [email protected]
- COMANAGE_REGISTRY_EMAIL_FROM_NAME=COmanage Registry
See LICENSE for details.
Content type
Image
Digest
sha256:247138406…
Size
579.7 MB
Last updated
3 months ago
docker pull i2incommon/comanage-registry-pe-develop:develop