All Projects → izniburak → demet

izniburak / demet

Licence: other
Simple and useful LAMP & LEMP and more stack environments to use on Docker.

Programming Languages

Dockerfile
14818 projects
shell
77523 projects
Makefile
30231 projects
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to demet

Devilbox
A modern Docker LAMP stack and MEAN stack for local development
Stars: ✭ 3,598 (+4634.21%)
Mutual labels:  lamp, lemp, lemp-stack, lamp-stack, php-docker-stack
docker-php-lemp
A dockerized php lemp stack
Stars: ✭ 15 (-80.26%)
Mutual labels:  lemp, lemp-stack
Oneinstack
OneinStack - A PHP/JAVA Deployment Tool
Stars: ✭ 1,983 (+2509.21%)
Mutual labels:  lamp, lemp
docker-lamp
Alpine docker with lamp (php7)
Stars: ✭ 42 (-44.74%)
Mutual labels:  lamp, lamp-stack
Lnmp
LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RHEL/Fedora/Aliyun/Amazon、Debian/Ubuntu/Raspbian/Deepin/Mint Linux VPS或独立主机安装LNMP(Nginx/MySQL/PHP)、LNMPA(Nginx/MySQL/PHP/Apache)、LAMP(Apache/MySQL/PHP)生产环境的Shell程序。
Stars: ✭ 2,119 (+2688.16%)
Mutual labels:  lamp, lemp
Yclas
Yclas Self Hosted is a powerful script that can transform any domain into a fully customizable classifieds site within a few seconds.
Stars: ✭ 276 (+263.16%)
Mutual labels:  lamp, lemp
docker-compose-lemp-stack
Docker Compose Linux Nginx MariaDB PHP7.2 Stack
Stars: ✭ 55 (-27.63%)
Mutual labels:  lemp, lemp-stack
Lnmp
LEMP stack/LAMP stack/LNMP stack installation scripts for CentOS/Redhat Debian and Ubuntu
Stars: ✭ 2,488 (+3173.68%)
Mutual labels:  lamp, lemp
Ansible Playbooks
Playbooks for automating server procedures based on our Community guides
Stars: ✭ 285 (+275%)
Mutual labels:  lamp, lemp
deck
DECK is a powerful and high performant local web development studio unlike any other.
Stars: ✭ 1,414 (+1760.53%)
Mutual labels:  lemp-stack, lamp-stack
Ansible Role Php
Ansible Role - PHP
Stars: ✭ 396 (+421.05%)
Mutual labels:  lamp, lemp
LEMPer
LEMPer Stack is terminal-based LEMP / LNMP installer and manager for Debian & Ubuntu cloud or virtual server (vps) and on-premise (bare metal).
Stars: ✭ 171 (+125%)
Mutual labels:  lemp, lemp-stack
ShellVhostManager
Helps you managing LAMP basic needs (virtualHost, Ftp users, Mysql Database)
Stars: ✭ 34 (-55.26%)
Mutual labels:  lamp
Php Examples For Aws Lambda
Demo serverless applications, examples code snippets and resources for PHP
Stars: ✭ 177 (+132.89%)
Mutual labels:  lamp
omeka-s-docker
Omeka-S in Docker containers.
Stars: ✭ 18 (-76.32%)
Mutual labels:  lamp
Vagrant Lamp Bootstrap
A super-simple Vagrantfile / bootstrap.sh to setup a LAMP stack inside Vagrant 100% automatically
Stars: ✭ 132 (+73.68%)
Mutual labels:  lamp
Vagrant Php7
A simple Vagrant LAMP setup with PHP 7.1 running on Ubuntu 16.04 LTS
Stars: ✭ 112 (+47.37%)
Mutual labels:  lamp
F3 Boilerplate
PHP7 Fat-Free Framework (http://fatfreeframework.com) example - A skeleton i18n web application which implements an MVC structure ( https://github.com/vijinho/FFMVC ) and includes the files from the https://getbootstrap.com project.
Stars: ✭ 97 (+27.63%)
Mutual labels:  lamp
node-casperjs-aws-lambda
Base scaffolding app for a casperjs/phantomjs app running on Amazon (AWS) Lambda
Stars: ✭ 52 (-31.58%)
Mutual labels:  lamp-stack
easydock
Dockerize your PHP apps ;)
Stars: ✭ 52 (-31.58%)
Mutual labels:  lemp-stack

demet

        _____  ______ __  __ ______ _______ 
      |  __ \|  ____|  \/  |  ____|__   __|
      | |  | | |__  | \  / | |__     | |   
      | |  | |  __| | |\/| |  __|    | |   
      | |__| | |____| |  | | |____   | |   
      |_____/|______|_|  |_|______|  |_|   
  Lightweight LAMP & LEMP stacks to use on Docker.

Simple, lightweight and useful LAMP & LEMP stacks to use on Docker via Docker Compose. With PostgreSQL, MongoDB, Redis, RabbitMQ, PhpMyAdmin, PGAdmin and Mongo-Express. You can generate your environment in whatever way you desire.

Service Container Name Default Ports Version Description
Apache Server demet-apache 80 / 443 2.4:alpine Apache Web Server
Nginx Server demet-nginx 80 / 443 stable:alpine Nginx Web Server
PHP demet-php 9000 7.4 - 8.1 - 8.2 PHP-FPM Versions (Default: 8.2)
MySQL demet-mysql 3306 8.0 MySQL 8.0
MariaDb demet-mysql 3306 10.6 MariaDb 10.6
PhpMyAdmin demet-phpmyadmin 8080 latest MySQL Web UI
PostgreSQL demet-pgsql 5432 12.0 PostgreSQL 12.0.
PGAdmin demet-pgadmin 8081 6 PostgreSQL Web UI (dpage/pgadmin4)
MongoDB demet-mongodb 27017 5 NoSQL database
Mongo-Express demet-mongoadmin 8082 latest MongoDB Web UI
Redis demet-redis 6379 6.2 Redis Database
RabbitMQ demet-rabbitmq 5672 / 15672 3-management-alpine RabbitMQ Message Queue

You can change the image versions of the containers via .env file.

Default docker-compose file includes PHP 8, Apache, MySQL and PhpMyAdmin containers.

Also, host names of all services are demet-<HOST>. For example, host name of demet-mysql container is mysql.

usage

Clone this repo by using following command:

$ git clone https://github.com/izniburak/demet.git && cd demet

Now, you must create .env file to specify port configuration for the containers you selected. In order to generate .env file, you can run following command simply:

$ make init

Great! .env and docker-compose.yml files have been generated. If you want to change default ports or configuration, you can edit .env file.

Then, configure and generate your docker-compose.yml file as you want.

NOTE: If you want to use default stack (PHP & Apache & MySQL) skip the following step.

$ make generate

Now, You're ready to build the containers you selected. In order to build the containers, you can use following command:

$ make build

If everything is okay, you can start to use Demet! Let's go to http://localhost .

If you want to enter to PHP container, you can use this command simply instead of docker exec command:

$ make webserver

That's all! Happy coding!

Notes

  • Your project files must be in ./public/ directory.

  • You can change php.ini settings by editting files in ./docker/php<VERSION>/conf/ directory.

  • If you need new extension for PHP, you can update ./docker/php<VERSION>/Dockerfile file and add a new extension you want.

  • You can find configuration files of Webserver which you used in ./docker/apache/ or ./docker/nginx/ directory.

  • You can find configuration files of other containers in ./docker/ directory as well.

  • Composer, XDebug and OPCache are included for PHP. You can use these directly.

  • If you want to enter to spesific container, you can use this command:

$ make run c=<container-name>
  • You can check the List of the containers for your setup:
$ make ps
  • You can use following commands simply in order to up or down docker-compose instead of docker-compose up|down:
# for UP your containers
$ make up

# for DOWN your containers
$ make down
  • If you need to restart all container, you can use this command:
$ make restart
  • You can access to container logs from ./logs/ directory.

  • You can use following command to clean & delete your docker-compose and .env files

$ make clean

Contributing

If you have any advice, let me know please.

  1. Fork it ( https://github.com/izniburak/demet/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • izniburak İzni Burak Demirtaş - creator, maintainer
  • ulaskilic - Contributor
  • Mustafa Palavar - Contributor
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].