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-03-21 22:01:37 +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-04-16 19:08:03 +08:00
|
|
|
DATA_SAVE_PATH=../data
|
|
|
|
|
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
|
|
|
|
############################
|
|
|
|
|
|
|
|
### WORKSPACE Container ################################################################################################
|
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
|
|
|
|
WORKSPACE_INSTALL_NODE=false
|
|
|
|
WORKSPACE_INSTALL_YARN=false
|
|
|
|
WORKSPACE_INSTALL_DRUSH=false
|
|
|
|
WORKSPACE_INSTALL_AEROSPIKE_EXTENSION=false
|
2017-02-27 20:53:40 +08:00
|
|
|
WORKSPACE_INSTALL_INSTALL_V8JS_EXTENSION=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-21 02:09:57 +08:00
|
|
|
### PHP_FPM Container ##################################################################################################
|
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-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-02-27 19:35:28 +08:00
|
|
|
PHP_FPM_INSTALL_AEROSPIKE_EXTENSION=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-02-27 19:35:28 +08:00
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
### NGINX Container ####################################################################################################
|
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-21 02:09:57 +08:00
|
|
|
### BLACKFIRE Container ################################################################################################
|
2017-04-21 06:02:54 +08:00
|
|
|
# Create an account on blackfire.io
|
|
|
|
# Don't enable blackfire and xDebug at the same time
|
|
|
|
# see https://blackfire.io/docs/24-days/06-installation#install-probe-debian
|
|
|
|
INSTALL_BLACKFIRE=false
|
|
|
|
BLACKFIRE_CLIENT_ID=<client_id>
|
|
|
|
BLACKFIRE_CLIENT_TOKEN=<client_token>
|
|
|
|
BLACKFIRE_SERVER_ID=<server_id>
|
|
|
|
BLACKFIRE_SERVER_TOKEN=<server_token>
|
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
### APACHE Container ###################################################################################################
|
|
|
|
|
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-21 02:09:57 +08:00
|
|
|
### MYSQL Container ####################################################################################################
|
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-21 02:09:57 +08:00
|
|
|
### Percona Container ##################################################################################################
|
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-21 02:09:57 +08:00
|
|
|
### MSSQL Container ####################################################################################################
|
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-21 02:09:57 +08:00
|
|
|
### MARIADB Container ##################################################################################################
|
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-21 02:09:57 +08:00
|
|
|
### POSTGRES Container #################################################################################################
|
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-21 02:09:57 +08:00
|
|
|
### RABBITMQ Container #################################################################################################
|
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-21 02:09:57 +08:00
|
|
|
### ELASTICSEARCH Container ############################################################################################
|
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-21 02:09:57 +08:00
|
|
|
### MEMCACHED Container ################################################################################################
|
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-21 02:09:57 +08:00
|
|
|
### BEANSTALKD Container ###############################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
BEANSTALKD_HOST_PORT=11300
|
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
### SELENIUM Container #################################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
SELENIUM_PORT=4444
|
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
### MINIO Container ####################################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-03-15 16:12:07 +08:00
|
|
|
MINIO_PORT=9000
|
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
### ADMINER Container ##################################################################################################
|
2017-04-21 02:34:42 +08:00
|
|
|
|
2017-04-21 01:45:04 +08:00
|
|
|
ADM_PORT=88
|
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
### PHP MY ADMIN Container #############################################################################################
|
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
|
|
|
|
PMA_PORT=88
|
|
|
|
|
2017-04-21 02:09:57 +08:00
|
|
|
### VARNISH Container ##################################################################################################
|
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-21 02:34:42 +08:00
|
|
|
### Varnish Container ##################################################################################################
|
|
|
|
|
|
|
|
# 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-21 02:09:57 +08:00
|
|
|
### HAPROXY Container ##################################################################################################
|
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-21 02:09:57 +08:00
|
|
|
### JENKINS Container ##################################################################################################
|
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-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
|
2017-03-15 16:12:07 +08:00
|
|
|
|