Open 2.0 is a Community Application with a large set of modules for Collaborative Work, Project Management, News/Newsletter, Documents, Polls, and Many More useful things
Read More About https://www.open2.0.regione.lombardia.it/
app
common
uploads/ contains stored files and logs, ith the prefered mount point for dynamic files
backend
web/ contains the entry script and Web resources
frontend
web/ contains the entry script and Web resources
docker
apache/ contains apache configuration and overrides
cron/ contains cron daemon rules
logrotate/ contains logrotate rules
php/ contains php configurations and overrides
service/ contains service files used by the entrypoint script
supervisor/ contains all supervisord managed services
variants any other variant of the base image
This image can be used in thousand ways, the easy way, is using it as-is, just mounting volumes with the application inside with the following command
Using this command requires an existing database server, alternatively you can use the docker-compose in this repo
docker run -d --name my-ready-app -v /path/to/yout/open2app:/var/www/app elitedivision/open-2.0:latestAnother easy way to run your application with all optional software is by using Docker Compose, this allows you to setup your environment with Zero external dependencies Just run the following command and youre ready to go
Before you setup you cluster configure your .env file using the .env.sample
docker-compose up -dAlternatively you can use this as base image for yout custom application image, for example
FROM elitedivision/open-2.0:latest
COPY . /var/www/app/
WORKDIR /var/www/appThen, run the commands to build and run the Docker image:
docker build -t my-open2-app .
docker run -it --rm --name my-running-app my-open2-appYou can customize the application runtime using the following ENV Vars
If you need to run multidomain Application you can configure those two vars
With this var you can change the data encryption inside the application
Set "true" to enable the CRONTAB inside the App container (Default: true)
Set "true" to enable Webserver on the application container (Default: true)
Set "true" to enable PHP FPM inside the application container (Default: true)
The open-2.0 images can be released in more than one iteration, based on many use cases and requirements
Instead of the latest, based on Debian, you can choose a different one, for example with-shibboleth, which is a base image with shibboleth SP for single sign-on using the social-auth module