jbroadway / elefant

Elefant, the refreshingly simple PHP CMS and web framework.
http://www.elefantcms.com
MIT License
208 stars 39 forks source link

Elefant docker support #311

Closed lux closed 3 years ago

lux commented 3 years ago

Adds basic docker configurations for development and production environments, and a makefile for building them. To generate a production container named elefant, run:

$ make build

To make a development container named elefant-dev, run:

$ make dev

To spin up a development environment with a MySQL database and a Redis instance for caching, run:

$ make run

And to shut it down afterward, run:

$ make down

See docker-compose.yml and .docker/* for more info.

evan70 commented 3 years ago

Nice :) Thanks