Giter VIP home page Giter VIP logo

docker-ezpublish's Introduction

Ez Publish Legacy

GitHub GitHub release (latest SemVer)

Image opencontentcoop/ezpublish

Docker Automated build Docker Cloud Build Status MicroBadger Layers MicroBadger Image Size

Image opencontentcoop/ezpublish-nginx

Docker Automated build Docker build status MicroBadger Layers MicroBadger Image Size

This repository is used to create e Docker base-image for projects developed by Opencontent using Ez Publish.

Tech info

To better understand how we use this repo, please check some project that use it as base-image:

Basically we use the base image to install all the OS dependencies of Ez, the next step we add to Dockerfile is commonly add the composer.* files for the specific project.

Nginx image

The nginx image is a simple alpine-based nginx with a virtualhost configured for ez publish

The image uses also nginx-prometheus-exporter and expose nginx metrics in prometheus format on /metrics url, check the official Grafana dashboard to show these metrics

Configuration using Environment Variables

Variable Type Default value Description
EZ_ROOT String /var/www/html Root of EZ Filesystem
EZ_INSTANCE String prototipo If set change the value of '$instance' variable in nginx virtulahost
NO_FORCE_CONTAINER_REFRESH Boolean true If set to true
PROMETHEUS_DISABLE Boolean none If set to TRUE disable the prometheus monitoring
DEBUG Boolean none If set to TRUE enable debugging of bash scripts
BEHAT_SELENIUM_HOST String none BeHat Selenium host
BEHAT_WEB_HOST String none BeHat Web Host
PHP_INI_ENV_[NAME] Any variable with prefix PHP_INI_ENV is injected in ${PHP_INI_DIR}/conf.d/zzz_custom_settings.ini

There are also some variables coming from the prometheus exports, but they are not useful in this nginx setup, where the configuration of nginx is hardcoded. For more details check: https://github.com/nginxinc/nginx-prometheus-exporter

Customize image entrypoint

Add your entrypoint customization scripts to /docker-entrypoint-initdb.d/, any sh file there is executed at some point of docker container bootstrap

docker-ezpublish's People

Contributors

lorello avatar lrealdi avatar renovate-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.