2017-11-14 18:53:30 +08:00
###########################################################
2018-04-05 21:43:22 +08:00
###################### General Setup ######################
2017-11-14 18:53:30 +08:00
###########################################################
2017-04-21 02:09:57 +08:00
2018-04-05 21:43:22 +08:00
### Paths #################################################
2017-04-21 02:34:42 +08:00
2018-04-05 21:43:22 +08:00
# Point to the path of your applications code on your host
APP_CODE_PATH_HOST=../
2017-02-27 19:35:28 +08:00
2018-04-05 21:43:22 +08:00
# Point to where the `APP_CODE_PATH_HOST` should be in the container. You may add flags to the path `:cached`, `:delegated`. When using Docker Sync add `:nocopy`
APP_CODE_PATH_CONTAINER=/var/www:cached
2017-11-14 18:53:30 +08:00
2018-04-05 21:43:22 +08:00
# Choose storage path on your machine. For all storage systems
DATA_PATH_HOST=~/.laradock/data
2017-11-14 18:53:30 +08:00
2018-04-05 21:43:22 +08:00
### Drivers ################################################
2017-11-14 18:53:30 +08:00
2018-04-05 21:43:22 +08:00
# All volumes driver
VOLUMES_DRIVER=local
2017-11-14 18:53:30 +08:00
2018-04-05 21:43:22 +08:00
# All Networks driver
NETWORKS_DRIVER=bridge
2017-04-21 02:34:42 +08:00
2018-04-05 21:43:22 +08:00
### Docker compose files ##################################
2017-04-16 19:08:03 +08:00
2018-04-05 21:43:22 +08:00
# Select which docker-compose files to include. If using docker-sync append `:docker-compose.sync.yml` at the end
COMPOSE_FILE=docker-compose.yml
2017-11-24 02:52:42 +08:00
2018-04-05 21:43:22 +08:00
# Change the separator from : to ; on Windows
2017-12-04 07:04:20 +08:00
COMPOSE_PATH_SEPARATOR=:
2017-11-24 02:52:42 +08:00
2018-04-25 14:30:33 +08:00
# Define the prefix of container names. This is useful if you have multiple projects that use laradock to have seperate containers per project.
COMPOSE_PROJECT_NAME=laradock
2018-04-05 21:43:22 +08:00
### PHP Version ###########################################
2018-05-05 22:06:15 +08:00
# Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM). Accepted values: 7.2 - 7.1 - 7.0 - 5.6
2018-04-06 15:04:56 +08:00
PHP_VERSION=7.2
2018-04-05 21:43:22 +08:00
### PHP Interpreter #######################################
2017-04-21 02:34:42 +08:00
2018-04-05 21:43:22 +08:00
# Select the PHP Interpreter. Accepted values: hhvm - php-fpm
PHP_INTERPRETER=php-fpm
### Docker Host IP ########################################
# Enter your Docker Host IP (will be appended to /etc/hosts). Default is `10.0.75.1`
2017-11-14 18:53:30 +08:00
DOCKER_HOST_IP=10.0.75.1
2017-02-27 19:35:28 +08:00
2018-04-05 21:43:22 +08:00
### Remote Interpreter ####################################
2017-04-21 02:34:42 +08:00
2018-04-05 21:43:22 +08:00
# Choose a Remote Interpreter entry matching name. Default is `laradock`
2017-11-14 18:53:30 +08:00
PHP_IDE_CONFIG=serverName=laradock
2018-04-05 21:43:22 +08:00
### Windows Path ##########################################
2017-11-14 18:53:30 +08:00
2018-04-05 21:43:22 +08:00
# A fix for Windows users, to ensure the application path works
2017-11-14 18:53:30 +08:00
COMPOSE_CONVERT_WINDOWS_PATHS=1
2018-04-05 21:43:22 +08:00
### Environment ###########################################
2017-11-24 02:52:42 +08:00
2018-04-05 21:43:22 +08:00
# If you need to change the sources (i.e. to China), set CHANGE_SOURCE to true
2017-11-24 02:52:42 +08:00
CHANGE_SOURCE=false
2018-04-05 21:43:22 +08:00
### Docker Sync ###########################################
# If you are using Docker Sync. For `osx` use 'native_osx', for `windows` use 'unison', for `linux` docker-sync is not required
DOCKER_SYNC_STRATEGY=native_osx
2017-02-27 19:35:28 +08:00
2017-11-14 18:53:30 +08:00
###########################################################
2018-04-05 21:43:22 +08:00
################ Containers Customization #################
2017-11-14 18:53:30 +08:00
###########################################################
2017-04-21 02:09:57 +08:00
2018-04-05 21:43:22 +08:00
### WORKSPACE #############################################
WORKSPACE_COMPOSER_GLOBAL_INSTALL=true
WORKSPACE_COMPOSER_REPO_PACKAGIST=
WORKSPACE_INSTALL_NODE=true
2018-06-30 17:08:02 +08:00
WORKSPACE_NODE_VERSION=node
2018-04-05 21:43:22 +08:00
WORKSPACE_NPM_REGISTRY=
WORKSPACE_INSTALL_YARN=true
WORKSPACE_YARN_VERSION=latest
2018-06-24 23:19:09 +08:00
WORKSPACE_INSTALL_NPM_GULP=true
WORKSPACE_INSTALL_NPM_BOWER=true
WORKSPACE_INSTALL_NPM_VUE_CLI=true
2018-04-05 21:43:22 +08:00
WORKSPACE_INSTALL_PHPREDIS=true
WORKSPACE_INSTALL_WORKSPACE_SSH=false
2018-05-07 16:58:55 +08:00
WORKSPACE_INSTALL_SUBVERSION=false
2017-02-27 19:35:28 +08:00
WORKSPACE_INSTALL_XDEBUG=false
2018-06-30 16:54:46 +08:00
WORKSPACE_INSTALL_PHPDBG=false
2017-09-29 20:56:28 +08:00
WORKSPACE_INSTALL_LDAP=false
2017-02-27 20:53:40 +08:00
WORKSPACE_INSTALL_SOAP=false
2017-11-06 18:12:02 +08:00
WORKSPACE_INSTALL_IMAP=false
2017-02-27 19:35:28 +08:00
WORKSPACE_INSTALL_MONGO=false
2017-12-28 20:25:32 +08:00
WORKSPACE_INSTALL_AMQP=false
2017-05-04 00:59:44 +08:00
WORKSPACE_INSTALL_MSSQL=false
2017-02-27 19:35:28 +08:00
WORKSPACE_INSTALL_DRUSH=false
2018-05-28 11:23:59 +08:00
WORKSPACE_DRUSH_VERSION=8.1.17
2017-08-19 22:58:40 +08:00
WORKSPACE_INSTALL_DRUPAL_CONSOLE=false
2017-05-07 22:54:55 +08:00
WORKSPACE_INSTALL_AEROSPIKE=false
WORKSPACE_INSTALL_V8JS=false
2017-02-27 20:53:40 +08:00
WORKSPACE_INSTALL_LARAVEL_ENVOY=false
2017-05-30 22:05:30 +08:00
WORKSPACE_INSTALL_LARAVEL_INSTALLER=false
2017-02-27 20:53:40 +08:00
WORKSPACE_INSTALL_DEPLOYER=false
2018-01-17 10:20:58 +08:00
WORKSPACE_INSTALL_PRESTISSIMO=false
2017-02-27 20:53:40 +08:00
WORKSPACE_INSTALL_LINUXBREW=false
2017-03-17 04:10:28 +08:00
WORKSPACE_INSTALL_MC=false
2017-08-07 04:45:25 +08:00
WORKSPACE_INSTALL_SYMFONY=false
WORKSPACE_INSTALL_PYTHON=false
2017-07-08 18:58:05 +08:00
WORKSPACE_INSTALL_IMAGE_OPTIMIZERS=false
2017-09-05 07:36:24 +08:00
WORKSPACE_INSTALL_IMAGEMAGICK=false
2017-09-23 15:04:36 +08:00
WORKSPACE_INSTALL_TERRAFORM=false
2017-09-28 17:59:16 +08:00
WORKSPACE_INSTALL_DUSK_DEPS=false
2017-10-25 17:40:47 +08:00
WORKSPACE_INSTALL_PG_CLIENT=false
2018-01-09 11:25:57 +08:00
WORKSPACE_INSTALL_SWOOLE=false
2018-06-28 13:14:06 +08:00
WORKSPACE_INSTALL_LIBPNG=false
2018-07-19 00:25:16 +08:00
WORKSPACE_INSTALL_GRAPHVIZ=false
2017-02-27 19:35:28 +08:00
WORKSPACE_PUID=1000
WORKSPACE_PGID=1000
2017-10-06 22:46:54 +08:00
WORKSPACE_CHROME_DRIVER_VERSION=2.32
2017-02-27 19:35:28 +08:00
WORKSPACE_TIMEZONE=UTC
WORKSPACE_SSH_PORT=2222
2018-04-05 21:43:22 +08:00
### PHP_FPM ###############################################
PHP_FPM_INSTALL_ZIP_ARCHIVE=true
PHP_FPM_INSTALL_BCMATH=true
PHP_FPM_INSTALL_MYSQLI=true
PHP_FPM_INSTALL_TOKENIZER=true
PHP_FPM_INSTALL_INTL=true
PHP_FPM_INSTALL_IMAGEMAGICK=true
PHP_FPM_INSTALL_OPCACHE=true
PHP_FPM_INSTALL_IMAGE_OPTIMIZERS=true
PHP_FPM_INSTALL_PHPREDIS=true
PHP_FPM_INSTALL_MEMCACHED=false
2017-02-27 19:35:28 +08:00
PHP_FPM_INSTALL_XDEBUG=false
2018-06-30 16:54:46 +08:00
PHP_FPM_INSTALL_PHPDBG=false
2018-02-14 02:15:49 +08:00
PHP_FPM_INSTALL_IMAP=false
2017-02-27 19:35:28 +08:00
PHP_FPM_INSTALL_MONGO=false
2017-12-28 20:25:32 +08:00
PHP_FPM_INSTALL_AMQP=false
2017-05-04 00:59:44 +08:00
PHP_FPM_INSTALL_MSSQL=false
2017-02-27 21:05:47 +08:00
PHP_FPM_INSTALL_SOAP=false
2017-12-27 18:56:26 +08:00
PHP_FPM_INSTALL_GMP=false
2017-02-27 21:05:47 +08:00
PHP_FPM_INSTALL_EXIF=false
2017-05-07 22:54:55 +08:00
PHP_FPM_INSTALL_AEROSPIKE=false
2017-09-25 19:40:47 +08:00
PHP_FPM_INSTALL_PGSQL=false
2017-04-12 03:52:34 +08:00
PHP_FPM_INSTALL_GHOSTSCRIPT=false
2017-05-12 19:23:03 +08:00
PHP_FPM_INSTALL_LDAP=false
2017-05-08 01:42:46 +08:00
PHP_FPM_INSTALL_SWOOLE=false
2017-10-25 17:40:47 +08:00
PHP_FPM_INSTALL_PG_CLIENT=false
2018-04-24 22:25:16 +08:00
PHP_FPM_INSTALL_PCNTL=false
2017-02-27 19:35:28 +08:00
2018-04-05 21:43:22 +08:00
### PHP_WORKER ############################################
2017-10-29 20:54:05 +08:00
PHP_WORKER_INSTALL_PGSQL=false
2018-04-05 21:43:22 +08:00
### NGINX #################################################
2017-04-21 02:34:42 +08:00
2017-03-15 16:12:07 +08:00
NGINX_HOST_HTTP_PORT=80
2017-03-17 16:37:42 +08:00
NGINX_HOST_HTTPS_PORT=443
2017-02-27 19:35:28 +08:00
NGINX_HOST_LOG_PATH=./logs/nginx/
2017-02-27 21:11:16 +08:00
NGINX_SITES_PATH=./nginx/sites/
2017-08-04 05:50:20 +08:00
NGINX_PHP_UPSTREAM_CONTAINER=php-fpm
NGINX_PHP_UPSTREAM_PORT=9000
2017-02-27 21:11:16 +08:00
2018-04-05 21:43:22 +08:00
### APACHE ################################################
2017-04-21 02:09:57 +08:00
2017-03-15 16:12:07 +08:00
APACHE_HOST_HTTP_PORT=80
APACHE_HOST_HTTPS_PORT=443
2017-02-27 19:35:28 +08:00
APACHE_HOST_LOG_PATH=./logs/apache2
2017-06-30 18:22:55 +08:00
APACHE_SITES_PATH=./apache2/sites
2017-08-04 05:50:20 +08:00
APACHE_PHP_UPSTREAM_CONTAINER=php-fpm
APACHE_PHP_UPSTREAM_PORT=9000
2017-09-18 21:24:48 +08:00
APACHE_PHP_UPSTREAM_TIMEOUT=60
2018-03-18 17:38:49 +08:00
APACHE_DOCUMENT_ROOT=/var/www/
2017-02-27 19:35:28 +08:00
2018-04-05 21:43:22 +08:00
### MYSQL #################################################
2017-04-21 02:34:42 +08:00
2018-03-13 14:22:20 +08:00
MYSQL_VERSION=latest
2017-03-15 16:12:07 +08:00
MYSQL_DATABASE=default
MYSQL_USER=default
MYSQL_PASSWORD=secret
MYSQL_PORT=3306
2017-02-27 19:35:28 +08:00
MYSQL_ROOT_PASSWORD=root
2017-07-06 05:56:50 +08:00
MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
2017-02-27 19:35:28 +08:00
2018-04-05 21:43:22 +08:00
### REDIS #################################################
2017-08-09 11:17:53 +08:00
REDIS_PORT=6379
2018-04-05 21:43:22 +08:00
### Percona ###############################################
2017-04-21 02:34:42 +08:00
2017-04-18 06:19:09 +08:00
PERCONA_DATABASE=homestead
PERCONA_USER=homestead
PERCONA_PASSWORD=secret
PERCONA_PORT=3306
PERCONA_ROOT_PASSWORD=root
2017-07-06 05:56:50 +08:00
PERCONA_ENTRYPOINT_INITDB=./percona/docker-entrypoint-initdb.d
2017-04-18 06:19:09 +08:00
2018-04-05 21:43:22 +08:00
### MSSQL #################################################
2017-04-21 02:34:42 +08:00
2017-03-26 08:28:04 +08:00
MSSQL_DATABASE=homestead
MSSQL_PASSWORD=yourStrong(!)Password
MSSQL_PORT=1433
2018-04-05 21:43:22 +08:00
### MARIADB ###############################################
2017-04-21 02:34:42 +08:00
2017-03-15 16:12:07 +08:00
MARIADB_DATABASE=default
MARIADB_USER=default
MARIADB_PASSWORD=secret
MARIADB_PORT=3306
2017-04-04 06:05:44 +08:00
MARIADB_ROOT_PASSWORD=root
2017-07-06 05:56:50 +08:00
MARIADB_ENTRYPOINT_INITDB=./mariadb/docker-entrypoint-initdb.d
2017-02-27 19:35:28 +08:00
2018-04-05 21:43:22 +08:00
### POSTGRES ##############################################
2017-04-21 02:34:42 +08:00
2017-03-15 16:12:07 +08:00
POSTGRES_DB=default
POSTGRES_USER=default
POSTGRES_PASSWORD=secret
POSTGRES_PORT=5432
2018-06-24 14:38:04 +08:00
POSTGRES_ENTRYPOINT_INITDB=./postgres/docker-entrypoint-initdb.d
2017-02-27 19:35:28 +08:00
2018-04-05 21:43:22 +08:00
### RABBITMQ ##############################################
2017-04-21 02:34:42 +08:00
2017-02-27 19:35:28 +08:00
RABBITMQ_NODE_HOST_PORT=5672
RABBITMQ_MANAGEMENT_HTTP_HOST_PORT=15672
2017-03-15 16:12:07 +08:00
RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT=15671
2017-02-27 19:35:28 +08:00
RABBITMQ_DEFAULT_USER=guest
RABBITMQ_DEFAULT_PASS=guest
2018-04-05 21:43:22 +08:00
### ELASTICSEARCH #########################################
2017-04-21 02:34:42 +08:00
2017-02-27 19:35:28 +08:00
ELASTICSEARCH_HOST_HTTP_PORT=9200
ELASTICSEARCH_HOST_TRANSPORT_PORT=9300
2018-04-05 21:43:22 +08:00
### KIBANA ################################################
2017-06-03 12:54:37 +08:00
KIBANA_HTTP_PORT=5601
2018-04-05 21:43:22 +08:00
### MEMCACHED #############################################
2017-04-21 02:34:42 +08:00
2017-03-15 16:12:07 +08:00
MEMCACHED_HOST_PORT=11211
2018-04-05 21:43:22 +08:00
### BEANSTALKD CONSOLE ####################################
2017-04-21 02:34:42 +08:00
2017-03-15 16:12:07 +08:00
BEANSTALKD_CONSOLE_BUILD_PATH=./beanstalkd-console
BEANSTALKD_CONSOLE_CONTAINER_NAME=beanstalkd-console
BEANSTALKD_CONSOLE_HOST_PORT=2080
2018-04-05 21:43:22 +08:00
### BEANSTALKD ############################################
2017-04-21 02:34:42 +08:00
2017-03-15 16:12:07 +08:00
BEANSTALKD_HOST_PORT=11300
2018-04-05 21:43:22 +08:00
### SELENIUM ##############################################
2017-04-21 02:34:42 +08:00
2017-03-15 16:12:07 +08:00
SELENIUM_PORT=4444
2018-04-05 21:43:22 +08:00
### MINIO #################################################
2017-04-21 02:34:42 +08:00
2017-03-15 16:12:07 +08:00
MINIO_PORT=9000
2018-04-05 21:43:22 +08:00
### ADMINER ###############################################
2017-04-21 02:34:42 +08:00
2017-04-24 05:40:27 +08:00
ADM_PORT=8080
2017-05-25 16:44:51 +08:00
ADM_INSTALL_MSSQL=false
2017-04-21 01:45:04 +08:00
2018-04-05 21:43:22 +08:00
### PHP MY ADMIN ##########################################
2017-04-21 02:34:42 +08:00
# Accepted values: mariadb - mysql
2017-03-15 16:12:07 +08:00
PMA_DB_ENGINE=mysql
2017-04-21 02:34:42 +08:00
# Credentials/Port:
2017-03-15 16:12:07 +08:00
PMA_USER=default
PMA_PASSWORD=secret
PMA_ROOT_PASSWORD=secret
2017-04-24 05:40:27 +08:00
PMA_PORT=8080
2017-03-15 16:12:07 +08:00
2018-04-05 21:43:22 +08:00
### MAILDEV ###############################################
2017-10-15 02:01:16 +08:00
MAILDEV_HTTP_PORT=1080
MAILDEV_SMTP_PORT=25
2018-04-05 21:43:22 +08:00
### VARNISH ###############################################
2017-04-21 02:34:42 +08:00
2017-03-23 14:53:26 +08:00
VARNISH_CONFIG=/etc/varnish/default.vcl
VARNISH_PORT=8080
VARNISH_BACKEND_PORT=8888
VARNISHD_PARAMS=-p default_ttl=3600 -p default_grace=3600
2018-04-05 21:43:22 +08:00
### Varnish ###############################################
2017-04-21 02:34:42 +08:00
# Proxy 1
2017-03-23 14:53:26 +08:00
VARNISH_PROXY1_CACHE_SIZE=128m
2017-03-26 13:33:27 +08:00
VARNISH_PROXY1_BACKEND_HOST=workspace
2017-03-23 14:53:26 +08:00
VARNISH_PROXY1_SERVER=SERVER1
2017-04-21 02:34:42 +08:00
# Proxy 2
2017-03-23 14:53:26 +08:00
VARNISH_PROXY2_CACHE_SIZE=128m
2017-03-26 13:33:27 +08:00
VARNISH_PROXY2_BACKEND_HOST=workspace
2017-03-23 14:53:26 +08:00
VARNISH_PROXY2_SERVER=SERVER2
2018-04-05 21:43:22 +08:00
### HAPROXY ###############################################
2017-04-21 02:34:42 +08:00
2017-03-26 09:13:14 +08:00
HAPROXY_HOST_HTTP_PORT=8085
2017-03-23 14:53:26 +08:00
2018-04-05 21:43:22 +08:00
### JENKINS ###############################################
2017-04-21 02:34:42 +08:00
2017-04-12 22:25:07 +08:00
JENKINS_HOST_HTTP_PORT=8090
JENKINS_HOST_SLAVE_AGENT_PORT=50000
JENKINS_HOME=./jenkins/jenkins_home
2018-04-05 21:43:22 +08:00
### GRAFANA ###############################################
2017-10-18 20:34:27 +08:00
GRAFANA_PORT=3000
2018-04-05 21:43:22 +08:00
### BLACKFIRE #############################################
2017-04-23 03:05:52 +08:00
2018-04-05 21:43:22 +08:00
# Create an account on blackfire.io. Don't enable blackfire and xDebug at the same time. # visit https://blackfire.io/docs/24-days/06-installation#install-probe-debian for more info.
2017-04-23 03:05:52 +08:00
INSTALL_BLACKFIRE=false
BLACKFIRE_CLIENT_ID=<client_id>
BLACKFIRE_CLIENT_TOKEN=<client_token>
BLACKFIRE_SERVER_ID=<server_id>
BLACKFIRE_SERVER_TOKEN=<server_token>
2018-04-05 21:43:22 +08:00
### AEROSPIKE #############################################
2017-05-09 07:31:00 +08:00
AEROSPIKE_SERVICE_PORT=3000
AEROSPIKE_FABRIC_PORT=3001
AEROSPIKE_HEARTBEAT_PORT=3002
AEROSPIKE_INFO_PORT=3003
2018-04-06 15:04:56 +08:00
## Temp solution, this should be in the dockerfile
# for all versions "https://github.com/aerospike/aerospike-client-php/archive/master.tar.gz"
2018-06-09 00:15:09 +08:00
# for php 7.2 (using this branch until the support for 7.2 on master) "https://github.com/aerospike/aerospike-client-php/archive/7.2.0-release-candidate.tar.gz"
AEROSPIKE_PHP_REPOSITORY=https://github.com/aerospike/aerospike-client-php/archive/7.2.0-release-candidate.tar.gz
2018-04-06 15:04:56 +08:00
2018-04-05 21:43:22 +08:00
### RETHINKDB #############################################
2017-05-09 07:31:00 +08:00
RETHINKDB_PORT=8090
2018-04-05 21:43:22 +08:00
### MONGODB ###############################################
2017-05-09 07:31:00 +08:00
MONGODB_PORT=27017
2017-04-23 03:05:52 +08:00
2018-04-05 21:43:22 +08:00
### CADDY #################################################
2017-05-09 06:55:15 +08:00
CADDY_HOST_HTTP_PORT=80
CADDY_HOST_HTTPS_PORT=443
CADDY_HOST_LOG_PATH=./logs/caddy
CADDY_CUSTOM_CADDYFILE=./caddy/Caddyfile
2017-04-23 03:05:52 +08:00
2018-04-05 21:43:22 +08:00
### LARAVEL ECHO SERVER ###################################
2017-05-27 21:24:50 +08:00
LARAVEL_ECHO_SERVER_PORT=6001
2018-04-05 21:43:22 +08:00
### SOLR ##################################################
2018-02-11 18:36:57 +08:00
SOLR_VERSION=5.5
SOLR_PORT=8983
SOLR_DATAIMPORTHANDLER_MYSQL=false
2018-06-28 13:24:08 +08:00
### NETDATA ###############################################
NETDATA_PORT=19999
2018-07-06 20:54:44 +08:00
2018-07-06 20:57:29 +08:00
### PHPREDISADMIN #########################################
REDIS_WEBUI_USERNAME=laradock
REDIS_WEBUI_PASSWORD=laradock
REDIS_WEBUI_CONNECT_HOST=redis
REDIS_WEBUI_CONNECT_PORT=6379
REDIS_WEBUI_PORT=9987
2018-07-06 20:54:44 +08:00
### MONGOWEBUI ###############################################
MONGO_WEBUI_PORT=3000
MONGO_WEBUI_ROOT_URL=http://localhost
MONGO_WEBUI_MONGO_URL=mongodb://mongo:27017/
MONGO_WEBUI_INSTALL_MONGO=false