2017-04-21 02:09:57 +08:00
|
|
|
############################
|
|
|
|
# General Setup
|
|
|
|
############################
|
|
|
|
|
|
|
|
### Application Path
|
|
|
|
# Point to your application code, will be available at `/var/www`.
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-05-01 18:36:31 +08:00
|
|
|
APPLICATION=../
|
2017-02-27 19:35:28 +08:00
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
### Data Path:
|
|
|
|
# For all storage systems.
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-05-25 10:04:41 +08:00
|
|
|
DATA_SAVE_PATH=~/.laradock/data
|
2017-04-16 19:08:03 +08:00
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
### PHP version
|
|
|
|
# Applies to the Workspace and PHP-FPM containers (Does not apply to HHVM)
|
2017-04-21 02:34:42 +08:00
|
|
|
# Accepted values: 71 - 70 - 56
|
|
|
|
|
2017-04-22 10:37:59 +08:00
|
|
|
PHP_VERSION=71
|
2017-02-27 19:35:28 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
### PHP interpreter
|
2017-04-21 01:45:04 +08:00
|
|
|
# Accepted values: hhvm - php-fpm
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-02-27 19:35:28 +08:00
|
|
|
PHP_INTERPRETER=php-fpm
|
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
############################
|
|
|
|
# Containers Customization
|
|
|
|
############################
|
|
|
|
|
2017-04-23 03:05:52 +08:00
|
|
|
### WORKSPACE ##########################################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-02-27 19:35:28 +08:00
|
|
|
WORKSPACE_INSTALL_XDEBUG=false
|
2017-02-27 20:53:40 +08:00
|
|
|
WORKSPACE_INSTALL_SOAP=false
|
2017-02-27 19:35:28 +08:00
|
|
|
WORKSPACE_INSTALL_MONGO=false
|
2017-05-04 00:59:44 +08:00
|
|
|
WORKSPACE_INSTALL_MSSQL=false
|
2017-02-27 19:35:28 +08:00
|
|
|
WORKSPACE_INSTALL_NODE=false
|
|
|
|
WORKSPACE_INSTALL_YARN=false
|
|
|
|
WORKSPACE_INSTALL_DRUSH=false
|
2017-05-07 22:54:55 +08:00
|
|
|
WORKSPACE_INSTALL_AEROSPIKE=false
|
|
|
|
WORKSPACE_INSTALL_V8JS=false
|
2017-02-27 19:35:28 +08:00
|
|
|
WORKSPACE_COMPOSER_GLOBAL_INSTALL=false
|
|
|
|
WORKSPACE_INSTALL_WORKSPACE_SSH=false
|
2017-02-27 20:53:40 +08:00
|
|
|
WORKSPACE_INSTALL_LARAVEL_ENVOY=false
|
|
|
|
WORKSPACE_INSTALL_DEPLOYER=false
|
|
|
|
WORKSPACE_INSTALL_LINUXBREW=false
|
2017-03-17 04:10:28 +08:00
|
|
|
WORKSPACE_INSTALL_MC=false
|
2017-02-27 19:35:28 +08:00
|
|
|
WORKSPACE_PUID=1000
|
|
|
|
WORKSPACE_PGID=1000
|
|
|
|
WORKSPACE_NODE_VERSION=stable
|
2017-03-20 17:33:25 +08:00
|
|
|
WORKSPACE_YARN_VERSION=latest
|
2017-02-27 19:35:28 +08:00
|
|
|
WORKSPACE_TIMEZONE=UTC
|
|
|
|
WORKSPACE_SSH_PORT=2222
|
|
|
|
|
2017-04-23 03:05:52 +08:00
|
|
|
### PHP_FPM ############################################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-02-27 19:35:28 +08:00
|
|
|
PHP_FPM_INSTALL_XDEBUG=false
|
|
|
|
PHP_FPM_INSTALL_MONGO=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-02-27 19:35:28 +08:00
|
|
|
PHP_FPM_INSTALL_ZIP_ARCHIVE=false
|
2017-02-27 21:05:47 +08:00
|
|
|
PHP_FPM_INSTALL_BCMATH=false
|
|
|
|
PHP_FPM_INSTALL_PHPREDIS=false
|
2017-02-27 19:35:28 +08:00
|
|
|
PHP_FPM_INSTALL_MEMCACHED=false
|
|
|
|
PHP_FPM_INSTALL_OPCACHE=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-03-07 05:20:31 +08:00
|
|
|
PHP_FPM_INSTALL_MYSQLI=false
|
|
|
|
PHP_FPM_INSTALL_TOKENIZER=false
|
2017-03-17 14:26:54 +08:00
|
|
|
PHP_FPM_INSTALL_INTL=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-02-27 19:35:28 +08:00
|
|
|
|
2017-04-23 03:05:52 +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-04-23 03:05:52 +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
|
|
|
APACHE2_PHP_SOCKET=php-fpm:9000
|
|
|
|
APACHE_HOST_LOG_PATH=./logs/apache2
|
2017-03-15 16:12:07 +08:00
|
|
|
PHP_SOCKET=php-fpm:9000
|
2017-02-27 19:35:28 +08:00
|
|
|
|
2017-04-23 03:05:52 +08:00
|
|
|
### MYSQL ##############################################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
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-04-23 03:05:52 +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-04-23 03:05:52 +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
|
|
|
|
|
2017-04-23 03:05:52 +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-02-27 19:35:28 +08:00
|
|
|
|
2017-04-23 03:05:52 +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
|
2017-02-27 19:35:28 +08:00
|
|
|
|
2017-04-23 03:05:52 +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
|
|
|
|
|
2017-04-23 03:05:52 +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
|
|
|
|
|
2017-04-23 03:05:52 +08:00
|
|
|
### MEMCACHED ##########################################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
MEMCACHED_HOST_PORT=11211
|
|
|
|
|
2017-04-21 02:09:57 +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
|
|
|
|
|
2017-04-23 03:05:52 +08:00
|
|
|
### BEANSTALKD #########################################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
BEANSTALKD_HOST_PORT=11300
|
|
|
|
|
2017-04-23 03:05:52 +08:00
|
|
|
### SELENIUM ###########################################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
SELENIUM_PORT=4444
|
|
|
|
|
2017-04-23 03:05:52 +08:00
|
|
|
### MINIO ##############################################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
MINIO_PORT=9000
|
|
|
|
|
2017-04-23 03:05:52 +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
|
|
|
|
2017-04-23 03:05:52 +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
|
|
|
|
2017-04-23 03:05:52 +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
|
|
|
|
|
2017-04-23 03:05:52 +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
|
|
|
|
|
2017-04-23 03:05:52 +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
|
|
|
|
2017-04-23 03:05:52 +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
|
|
|
|
|
2017-04-23 03:05:52 +08:00
|
|
|
### BLACKFIRE ##########################################################################################################
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
INSTALL_BLACKFIRE=false
|
|
|
|
BLACKFIRE_CLIENT_ID=<client_id>
|
|
|
|
BLACKFIRE_CLIENT_TOKEN=<client_token>
|
|
|
|
BLACKFIRE_SERVER_ID=<server_id>
|
|
|
|
BLACKFIRE_SERVER_TOKEN=<server_token>
|
|
|
|
|
2017-05-09 07:31:00 +08:00
|
|
|
### AEROSPIKE ##########################################################################################################
|
|
|
|
|
|
|
|
AEROSPIKE_SERVICE_PORT=3000
|
|
|
|
AEROSPIKE_FABRIC_PORT=3001
|
|
|
|
AEROSPIKE_HEARTBEAT_PORT=3002
|
|
|
|
AEROSPIKE_INFO_PORT=3003
|
|
|
|
|
|
|
|
### RETHINKDB ##########################################################################################################
|
|
|
|
|
|
|
|
RETHINKDB_PORT=8090
|
|
|
|
|
|
|
|
### MONGODB ############################################################################################################
|
|
|
|
|
|
|
|
MONGODB_PORT=27017
|
2017-04-23 03:05:52 +08:00
|
|
|
|
2017-05-09 06:55:15 +08:00
|
|
|
### CADDY ##############################################################################################################
|
|
|
|
|
|
|
|
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
|
|
|
|
2017-05-09 20:07:15 +08:00
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
##### TO BE CONTINUE .................................
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
# ......... Missing: neo4j mongo rethinkdb redis aerospike pgadmin...
|
|
|
|
# .........
|
|
|
|
# .........
|
|
|
|
|
2017-04-21 02:34:42 +08:00
|
|
|
|
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
############################
|
|
|
|
# Miscellaneous
|
|
|
|
############################
|
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
# Replace with your Docker Host IP (will be appended to /etc/hosts)
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
DOCKER_HOST_IP=10.0.75.1
|
2017-04-21 02:09:57 +08:00
|
|
|
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
# The Remote Interpreter entry matching name `laradock`
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
PHP_IDE_CONFIG=serverName=laradock
|
2017-04-21 02:09:57 +08:00
|
|
|
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-21 22:06:26 +08:00
|
|
|
# Fix for windows users to make sure the application path works.
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-21 22:06:26 +08:00
|
|
|
COMPOSE_CONVERT_WINDOWS_PATHS=1
|