DOCKER
Go to file
ItaloBC bbbd247653 ElasticSearch instance fails at loading (wrong)
ElasticSearch (ES from now onwards) will fail to initialize since the parameters for its environment are not correct or absent. These are:

* `cluster.name`: Name of the cluster itself
* `bootstrap.memory_lock`: Needed for ES to [lock the JVM into swap instead of memory](https://www.elastic.co/guide/en/elasticsearch/reference/master/_memory_lock_check.html).
* `"ES_JAVA_OPTS=-Xms256m -Xmx256m"`: [Initial and maximum HEAP size for JVM](https://www.elastic.co/guide/en/elasticsearch/reference/current/_heap_size_check.html). Since it's locked to disk, should be the same. Half the defaults (512m) for development.
* `ulimits: memlock: soft (-1), hard (-1)`: [ES needs to have unlimited access to memory](https://www.elastic.co/guide/en/elasticsearch/reference/current/max-size-virtual-memory-check.html), otherwise it will feel sluggish.  
* `mem_limit: 512m`: Hard limit the memory available for the container.

This can, and should, be changed using `.env` file variables, but it seems that this should suffice for basic ES development.
2017-06-14 14:19:47 -04:00
.github add PR template 2017-06-09 17:46:26 +03:00
DOCUMENTATION update tools list in the docs 2017-06-09 17:33:10 +03:00
adminer adminer support mssql 2017-05-25 16:44:51 +08:00
aerospike Remove own namespace from conf file 2016-09-01 12:58:10 +01:00
apache2 Fixing apache webroot issue #849 2017-05-01 12:41:55 +02:00
beanstalkd Support Beanstalkd and Beanstalkd Console 2016-05-09 05:02:15 +03:00
beanstalkd-console Partly reverting 690137a3 2017-05-01 12:36:31 +02:00
caddy Merge pull request #992 from zuohuadong/patch-3 2017-06-07 09:42:47 +03:00
certbot Refactoring Maintainer Docker File 2017-03-26 14:56:55 +07:00
elasticsearch Change to official repository 2017-06-12 13:06:41 -04:00
haproxy Refactoring Maintainer Docker File 2017-03-26 14:56:55 +07:00
hhvm Partly reverting 690137a3 2017-05-01 12:36:31 +02:00
jenkins fix jenkins permission denied 2017-05-25 20:04:21 +08:00
kibana Change to official repository 2017-06-12 13:02:08 -04:00
laravel-echo-server add laravel echo server 2017-05-27 15:24:50 +02:00
logs Adding log directories to prevent errors 2017-04-09 21:58:05 +02:00
mailhog Refactoring Maintainer Docker File 2017-03-26 14:56:55 +07:00
mariadb fix mariadb service create multiple db solution user can’t see other db problem. 2017-05-13 11:00:36 +08:00
memcached add memcached support 2016-05-12 02:17:39 +01:00
minio Add Minio container 2017-03-05 15:06:22 +01:00
mongo set the original volume path 2016-06-01 14:44:40 +03:00
mssql fix mssql startup (#985) 2017-05-30 09:05:09 -05:00
mysql Set Timezone 2017-06-13 00:55:05 +02:00
neo4j replace official neo4j image with tpires/neo4j 2016-05-20 21:21:19 +03:00
nginx Partly reverting 690137a3 2017-05-01 12:36:31 +02:00
percona fix percona service create multiple db solution user can’t see other db problem. 2017-05-13 21:37:25 +08:00
pgadmin Add pgAdmin container. 2016-09-03 21:24:36 +08:00
php-fpm Dockerfile-56 fill missing MSSQL section 2017-05-31 13:41:30 +08:00
php-worker Merge pull request #732 from cjmaxik/patch-4 2017-04-03 09:56:13 -04:00
phpmyadmin fix #267 phpmyadmin is not working on linux. 2016-08-30 13:16:18 +08:00
postgres remove the duplicated volumes from DBs dockerfiles 2016-05-09 15:53:16 +03:00
postgres-postgis Refactoring Maintainer Docker File 2017-03-26 14:56:55 +07:00
rabbitmq Refactoring Maintainer Docker File 2017-03-26 14:56:55 +07:00
redis Update Redis Docker File 2017-05-04 08:22:32 +01:00
rethinkdb add rethink-db container 2016-12-26 01:59:58 -02:00
selenium Added service container for Selenium standalone with Chrome (#519) 2017-01-01 10:22:01 -05:00
varnish Refactoring Maintainer Docker File 2017-03-26 14:56:55 +07:00
workspace Set default setting to false for the following options in workspace: 2017-06-09 11:00:42 -04:00
.editorconfig Fixing indent_size=2 from 4 2017-03-17 13:52:19 +07:00
.gitignore Merge branch 'master' into master 2017-03-17 14:54:06 +07:00
.travis.yml join short time jobs 2017-05-06 17:37:03 +08:00
LICENSE update the readme file 2016-03-11 10:11:24 +02:00
README-zh.md Laravel 项目 2017-04-27 15:05:35 +08:00
README.md Update readme 2017-05-30 17:41:11 +03:00
docker-compose.yml ElasticSearch instance fails at loading (wrong) 2017-06-14 14:19:47 -04:00
env-example Add Kibana Container (#993) 2017-06-02 23:54:37 -05:00
travis-build.sh using set -x could produce more debug info. 2017-05-25 09:33:40 +08:00

README.md

Build Status GitHub issues GitHub forks GitHub stars GitHub license

Use Docker first and learn about it later.

A Docker PHP development environment that facilitates running PHP Apps on Docker.

forthebadge

Documentation

Full Documentation Here

Credits

Maintainers:

License

MIT License (MIT)