2016-10-09 16:47:49 +00:00
|
|
|
###
|
|
|
|
### ---------------------------------------------------
|
|
|
|
### D E V I L B O X R U N - T I M E S E T T I N G S
|
|
|
|
### ---------------------------------------------------
|
|
|
|
###
|
|
|
|
### All the following settings are applied during
|
|
|
|
### $ docker-compose up
|
|
|
|
###
|
2019-01-30 14:05:48 +00:00
|
|
|
### No need to rebuild any docker images!
|
2016-10-09 16:47:49 +00:00
|
|
|
###
|
2019-01-30 14:05:48 +00:00
|
|
|
### IMPORTANT:
|
|
|
|
### ----------
|
|
|
|
### When changing any values ensure to stop, rm and restart:
|
|
|
|
### $ docker-compose stop
|
|
|
|
### $ docker-compose rm -f
|
|
|
|
### $ docker-compose up
|
|
|
|
###
|
|
|
|
### NOTE:
|
|
|
|
### -----
|
|
|
|
### For you own custom variables, scroll to the bottom
|
2017-09-26 17:53:31 +00:00
|
|
|
###
|
2016-10-09 16:47:49 +00:00
|
|
|
|
2019-01-30 14:05:48 +00:00
|
|
|
# The following line will disable any shellcheck warnings throughout this file
|
|
|
|
# shellcheck disable=SC2034,SC2125
|
|
|
|
|
2017-04-29 14:36:22 +00:00
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
###
|
|
|
|
### Show all executed commands in each
|
|
|
|
### docker image during docker-compose up?
|
|
|
|
###
|
|
|
|
### 1: Yes
|
|
|
|
### 0: No
|
2017-09-26 14:58:24 +00:00
|
|
|
DEBUG_COMPOSE_ENTRYPOINT=1
|
2016-10-09 16:47:49 +00:00
|
|
|
|
|
|
|
|
2018-04-02 11:45:53 +00:00
|
|
|
###
|
|
|
|
### Log to file or Docker logs.
|
|
|
|
###
|
|
|
|
### Logging to file means log files are available under log/
|
|
|
|
### on your host operating system.
|
|
|
|
### Logging to Docker logs means log files are streamed to
|
|
|
|
### stdout and stderr.
|
|
|
|
###
|
|
|
|
### 1: Log to Docker logs
|
|
|
|
### 0: Log to file
|
|
|
|
###
|
|
|
|
DOCKER_LOGS=0
|
|
|
|
|
|
|
|
|
2016-12-14 10:15:33 +00:00
|
|
|
###
|
|
|
|
### Relative or absolute path to the devilbox repository.
|
|
|
|
### (Used as a prefix for all mount paths)
|
|
|
|
### There is no need to change this.
|
|
|
|
###
|
|
|
|
### The only exception is for OSX users wanting to use NFS
|
|
|
|
### mounts instead of Filesystem mounts due to degraded performance
|
|
|
|
### on OSX.
|
|
|
|
###
|
2017-07-05 06:12:07 +00:00
|
|
|
### Note: When changing this variable you must re-create the container.
|
|
|
|
### Simply remove it, it will be auto-created during the next start:
|
|
|
|
###
|
|
|
|
### $ docker-compose rm -f
|
|
|
|
###
|
2016-12-14 10:15:33 +00:00
|
|
|
DEVILBOX_PATH=.
|
|
|
|
|
|
|
|
|
2016-12-02 20:08:27 +00:00
|
|
|
###
|
|
|
|
### At what IP address should the docker services listen
|
|
|
|
### on the Host computer?
|
|
|
|
###
|
|
|
|
### The specified default should be fine for Linux and OSX (127.0.0.1:).
|
|
|
|
### If you are on windows, you will probably have to change
|
|
|
|
### it to the IP address of the docker machine.
|
|
|
|
###
|
2019-01-05 23:09:14 +00:00
|
|
|
### a.) Leave blank, to listen on all interfaces (no trailing colon ':')
|
2016-12-02 20:08:27 +00:00
|
|
|
### LOCAL_LISTEN_ADDR=
|
|
|
|
### b.) If an IP is specified, note the trailing colon ':'
|
|
|
|
### LOCAL_LISTEN_ADDR=127.0.0.1:
|
|
|
|
###
|
2017-10-03 08:32:23 +00:00
|
|
|
LOCAL_LISTEN_ADDR=
|
2016-12-02 20:08:27 +00:00
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
|
2017-05-07 13:51:12 +00:00
|
|
|
###
|
|
|
|
### This is the domain suffix your projects will be made available
|
|
|
|
### with mass-virtual-hosting.
|
|
|
|
### It is also required for the internal DNS server to be setup.
|
|
|
|
###
|
|
|
|
### Note: Only ALPHA ([a-zA-Z]+) characters are supported.
|
|
|
|
###
|
|
|
|
### Example:
|
|
|
|
### TLD_SUFFIX=loc
|
|
|
|
### Makes your project available under xxxx.loc
|
|
|
|
###
|
|
|
|
### Example:
|
|
|
|
### TLD_SUFFIX=local
|
|
|
|
### Makes your project available under xxxx.local
|
|
|
|
###
|
|
|
|
TLD_SUFFIX=loc
|
|
|
|
|
|
|
|
|
2018-04-28 10:15:41 +00:00
|
|
|
###
|
|
|
|
### Optional DNS configuration
|
|
|
|
### Allows you to add extra DNS records (above the wildcard entry)
|
|
|
|
### Useful if your host computer run other Docker services that you want to connect to or reach
|
|
|
|
### from within the Devilbox network by a custom hostname.
|
|
|
|
###
|
|
|
|
### Format:
|
|
|
|
### -------
|
|
|
|
### Resolve any custom defined hostname to an IP address (useable inside container and host os)
|
|
|
|
### EXTRA_HOSTS=<hostname>=<ip>[,<hostname>=<ip>]
|
|
|
|
###
|
|
|
|
### Resolve any custom defined hostname to whatever IP address a CNAME resolves to
|
|
|
|
### (Useable inside the container and host OS).
|
|
|
|
### Note: CNAME must be resolvable by Google DNS
|
|
|
|
### EXTRA_HOSTS=<hostname>=<CNAME>[,<hostname>=<CNAME>]
|
|
|
|
###
|
|
|
|
### Examples:
|
|
|
|
### ---------
|
|
|
|
### EXTRA_HOSTS=hostname.loc=1.2.3.4
|
|
|
|
### EXTRA_HOSTS=host.loc=1.2.3.4,host.example.org=3.4.5.6
|
|
|
|
EXTRA_HOSTS=
|
|
|
|
|
|
|
|
|
2017-05-26 07:02:16 +00:00
|
|
|
###
|
|
|
|
### Set your user id and group id
|
|
|
|
###
|
|
|
|
### This should be changed to the value of your local
|
|
|
|
### users uid and gid
|
|
|
|
###
|
|
|
|
### Type `id` on the terminal to find out your values
|
|
|
|
###
|
|
|
|
NEW_UID=1000
|
|
|
|
NEW_GID=1000
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
### Timezone for all dockers and service config files
|
|
|
|
###
|
|
|
|
TIMEZONE=Europe/Berlin
|
|
|
|
|
|
|
|
|
2017-09-26 14:58:24 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
###
|
|
|
|
### INTRANET SETTINGS
|
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
###
|
|
|
|
### TLD_SUFFIX domains are checked if they are set in the
|
|
|
|
### host computer /etc/hosts or available via attached DNS server.
|
|
|
|
### Timeout is done on vhosts.php (intranet) via ajax calls.
|
|
|
|
### In order to keep performance, set this to a low value.
|
|
|
|
### DNS checks might not succeed in time on slow machines.
|
|
|
|
### If DNS is valid, but timeout is expired, set this to a higher value.
|
|
|
|
###
|
|
|
|
### DNS_CHECK_TIMEOUT value is how many seconds to time out
|
|
|
|
### Default is to timeout after 1 second (DNS_CHECK_TIMEOUT=1)
|
|
|
|
###
|
|
|
|
DNS_CHECK_TIMEOUT=1
|
|
|
|
|
|
|
|
|
2018-05-02 13:10:08 +00:00
|
|
|
###
|
|
|
|
### Devilbox UI SSL Certificate generation
|
|
|
|
###
|
|
|
|
### When using SSL each certificate requires names for which it is responsible:
|
|
|
|
### Common Name as well as alternative names.
|
|
|
|
###
|
|
|
|
### Specify comma separated hostnames below by which you want to access the Devilbox.
|
|
|
|
### Those hostnames will be included in the SSL certificate for the Devilbox intranet.
|
|
|
|
### This has nothing to do for SSL certificates for projects, it is just for the intranet
|
|
|
|
### itself.
|
|
|
|
###
|
2019-02-16 12:27:46 +00:00
|
|
|
DEVILBOX_UI_SSL_CN=localhost,*.localhost,devilbox,*.devilbox,httpd
|
2018-05-02 13:10:08 +00:00
|
|
|
|
|
|
|
|
2017-09-09 08:40:07 +00:00
|
|
|
###
|
|
|
|
### Devilbox UI Password protection enable/disable (1/0)
|
|
|
|
###
|
|
|
|
### Set DEVILBOX_UI_PROTECT to 1 in order to password protect the
|
|
|
|
### intranet.
|
|
|
|
###
|
|
|
|
### Example:
|
|
|
|
### DEVILBOX_UI_PROTECT=1
|
|
|
|
### DEVILBOX_UI_PROTECT=0
|
|
|
|
###
|
|
|
|
DEVILBOX_UI_PROTECT=0
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
### Devilbox UI Password
|
|
|
|
###
|
|
|
|
### When DEVILBOX_UI_PROTECT=1, use the following password
|
|
|
|
### to log in. The password can always be changed.
|
|
|
|
### When changing the password, make sure to restart your
|
|
|
|
### PHP container.
|
|
|
|
###
|
|
|
|
### Example:
|
|
|
|
### DEVILBOX_UI_PASSWORD=my-very-secure-password
|
|
|
|
### DEVILBOX_UI_PASSWORD=Some pass with spaces
|
|
|
|
###
|
|
|
|
### The default username is 'devilbox'
|
|
|
|
###
|
|
|
|
DEVILBOX_UI_PASSWORD=password
|
|
|
|
|
|
|
|
|
2017-09-26 14:58:24 +00:00
|
|
|
###
|
2018-04-30 18:51:18 +00:00
|
|
|
### Enable the Devilbox Intranet?
|
2017-09-26 14:58:24 +00:00
|
|
|
###
|
|
|
|
### Example:
|
2018-04-30 18:51:18 +00:00
|
|
|
### DEVILBOX_UI_ENABLE=1
|
|
|
|
### DEVILBOX_UI_ENABLE=0
|
2017-09-26 14:58:24 +00:00
|
|
|
###
|
2018-04-30 18:51:18 +00:00
|
|
|
DEVILBOX_UI_ENABLE=1
|
2017-09-26 14:58:24 +00:00
|
|
|
|
|
|
|
|
2019-01-29 14:50:09 +00:00
|
|
|
###
|
|
|
|
### Automatically be logged in into phpMyAdmin
|
|
|
|
###
|
|
|
|
### Example:
|
|
|
|
### DEVILBOX_VENDOR_PHPMYADMIN_AUTOLOGIN=1
|
|
|
|
### DEVILBOX_VENDOR_PHPMYADMIN_AUTOLOGIN=0
|
|
|
|
###
|
|
|
|
DEVILBOX_VENDOR_PHPMYADMIN_AUTOLOGIN=1
|
|
|
|
|
|
|
|
|
2019-01-30 14:05:48 +00:00
|
|
|
###
|
|
|
|
### Automatically be logged in into phpPgAdmin
|
|
|
|
###
|
|
|
|
### Example:
|
|
|
|
### DEVILBOX_VENDOR_PHPPGADMIN_AUTOLOGIN=1
|
|
|
|
### DEVILBOX_VENDOR_PHPPGADMIN_AUTOLOGIN=0
|
|
|
|
###
|
|
|
|
DEVILBOX_VENDOR_PHPPGADMIN_AUTOLOGIN=1
|
|
|
|
|
|
|
|
|
2017-04-29 14:36:22 +00:00
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
################################################################################
|
|
|
|
###
|
|
|
|
### 1. Choose Images (Version)
|
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
###
|
2016-11-15 18:52:39 +00:00
|
|
|
### You can choose any combination of httpd, mysql, postgresql or php.
|
2016-10-09 16:47:49 +00:00
|
|
|
### Each of them are fully compatible between one another.
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
### 1.1 Choose PHP Server Image
|
|
|
|
###
|
2018-08-04 11:59:31 +00:00
|
|
|
### Note: PHP 5.2 is not officially supported. Intranet won't work (due to lack of namespace support).
|
|
|
|
### PHP 5.2 only works with Apache 2.4, Nginx stable and Nginx mainline.
|
|
|
|
### Use at your own risk.
|
|
|
|
###
|
|
|
|
#PHP_SERVER=5.2
|
2018-05-12 14:03:43 +00:00
|
|
|
#PHP_SERVER=5.3
|
2018-03-05 21:48:48 +00:00
|
|
|
#PHP_SERVER=5.4
|
|
|
|
#PHP_SERVER=5.5
|
|
|
|
#PHP_SERVER=5.6
|
|
|
|
#PHP_SERVER=7.0
|
2018-04-14 08:50:55 +00:00
|
|
|
#PHP_SERVER=7.1
|
|
|
|
PHP_SERVER=7.2
|
2018-05-13 15:21:32 +00:00
|
|
|
#PHP_SERVER=7.3
|
2018-11-02 21:55:15 +00:00
|
|
|
#PHP_SERVER=7.4
|
2019-02-09 15:51:40 +00:00
|
|
|
#PHP_SERVER=8.0
|
2017-04-29 14:36:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
### 1.2 Choose HTTPD Server Image
|
2016-10-09 16:47:49 +00:00
|
|
|
###
|
|
|
|
#HTTPD_SERVER=apache-2.2
|
2017-04-21 19:15:31 +00:00
|
|
|
#HTTPD_SERVER=apache-2.4
|
|
|
|
HTTPD_SERVER=nginx-stable
|
2016-10-17 02:05:30 +00:00
|
|
|
#HTTPD_SERVER=nginx-mainline
|
2016-10-09 16:47:49 +00:00
|
|
|
|
2017-04-29 14:36:22 +00:00
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
### 1.3 Choose MySQL Server Image
|
2016-10-09 16:47:49 +00:00
|
|
|
###
|
2016-11-15 18:52:39 +00:00
|
|
|
#MYSQL_SERVER=mysql-5.5
|
2016-10-24 23:57:53 +00:00
|
|
|
#MYSQL_SERVER=mysql-5.6
|
2016-12-30 17:38:54 +00:00
|
|
|
#MYSQL_SERVER=mysql-5.7
|
2017-04-21 20:25:02 +00:00
|
|
|
#MYSQL_SERVER=mysql-8.0
|
2016-10-25 20:27:34 +00:00
|
|
|
#MYSQL_SERVER=mariadb-5.5
|
2016-10-27 07:19:53 +00:00
|
|
|
#MYSQL_SERVER=mariadb-10.0
|
2018-12-20 10:32:14 +00:00
|
|
|
#MYSQL_SERVER=mariadb-10.1
|
2016-10-30 15:11:54 +00:00
|
|
|
#MYSQL_SERVER=mariadb-10.2
|
2018-12-20 10:32:14 +00:00
|
|
|
MYSQL_SERVER=mariadb-10.3
|
2017-07-01 16:54:09 +00:00
|
|
|
#MYSQL_SERVER=percona-5.5
|
|
|
|
#MYSQL_SERVER=percona-5.6
|
|
|
|
#MYSQL_SERVER=percona-5.7
|
2016-10-25 20:27:34 +00:00
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
|
2016-11-15 18:52:39 +00:00
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
### 1.4 Choose PostgreSQL Server Image
|
2016-11-15 18:52:39 +00:00
|
|
|
###
|
2018-12-20 19:04:50 +00:00
|
|
|
### IMPORTANT: Apline based images might cause issues on Docker Toolbox or OSX
|
|
|
|
### https://github.com/docker/toolbox/issues/510
|
2018-12-20 12:50:20 +00:00
|
|
|
###
|
2018-12-20 10:32:14 +00:00
|
|
|
#PGSQL_SERVER=9.0
|
2017-04-29 14:36:22 +00:00
|
|
|
#PGSQL_SERVER=9.1
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=9.2
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=9.2-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=9.3
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=9.3-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=9.4
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=9.4-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=9.5
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=9.5-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=9.6
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=9.6-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=10.0
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=10.0-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=10.1
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=10.1-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=10.2
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=10.2-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=10.3
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=10.3-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=10.4
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=10.4-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=10.5
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=10.5-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=10.6
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=10.6-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=11.0
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=11.0-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
PGSQL_SERVER=11.1
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=11.1-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#PGSQL_SERVER=latest
|
2018-12-20 19:04:50 +00:00
|
|
|
#PGSQL_SERVER=alpine
|
2016-10-09 16:47:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
2017-04-23 11:20:32 +00:00
|
|
|
### 1.5 Choose Redis Server Image
|
|
|
|
###
|
2018-12-20 19:04:50 +00:00
|
|
|
### IMPORTANT: Apline based images might cause issues on Docker Toolbox or OSX
|
|
|
|
### https://github.com/docker/toolbox/issues/510
|
2018-12-20 12:50:20 +00:00
|
|
|
###
|
2017-04-23 12:10:41 +00:00
|
|
|
#REDIS_SERVER=2.8
|
2018-12-20 12:50:20 +00:00
|
|
|
#REDIS_SERVER=3.0
|
2018-12-20 19:04:50 +00:00
|
|
|
#REDIS_SERVER=3.0-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#REDIS_SERVER=3.2
|
2018-12-20 19:04:50 +00:00
|
|
|
#REDIS_SERVER=3.2-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#REDIS_SERVER=4.0
|
2018-12-20 19:04:50 +00:00
|
|
|
#REDIS_SERVER=4.0-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
REDIS_SERVER=5.0
|
2018-12-20 19:04:50 +00:00
|
|
|
#REDIS_SERVER=5.0-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#REDIS_SERVER=latest
|
2018-12-20 19:04:50 +00:00
|
|
|
#REDIS_SERVER=alpine
|
2017-04-23 11:20:32 +00:00
|
|
|
|
|
|
|
|
2017-05-06 12:18:30 +00:00
|
|
|
###
|
2017-05-22 21:23:05 +00:00
|
|
|
### 1.6 Choose Memcached Server Image
|
2017-05-06 12:18:30 +00:00
|
|
|
###
|
2018-12-20 19:04:50 +00:00
|
|
|
### IMPORTANT: Apline based images might cause issues on Docker Toolbox or OSX
|
|
|
|
### https://github.com/docker/toolbox/issues/510
|
2018-12-20 12:50:20 +00:00
|
|
|
###
|
|
|
|
#MEMCD_SERVER=1.4
|
2018-12-20 19:04:50 +00:00
|
|
|
#MEMCD_SERVER=1.4-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
MEMCD_SERVER=1.5
|
2018-12-20 19:04:50 +00:00
|
|
|
#MEMCD_SERVER=1.5-alpine
|
2018-12-20 12:50:20 +00:00
|
|
|
#MEMCD_SERVER=latest
|
2018-12-20 19:04:50 +00:00
|
|
|
#MEMCD_SERVER=alpine
|
2017-05-06 12:18:30 +00:00
|
|
|
|
|
|
|
|
2017-05-22 21:23:05 +00:00
|
|
|
###
|
|
|
|
### 1.7 Choose Mongo Server Image
|
|
|
|
###
|
2017-05-23 06:47:45 +00:00
|
|
|
#MONGO_SERVER=2.8
|
2017-05-22 21:23:05 +00:00
|
|
|
#MONGO_SERVER=3.0
|
|
|
|
#MONGO_SERVER=3.2
|
2018-04-14 08:50:55 +00:00
|
|
|
#MONGO_SERVER=3.4
|
|
|
|
#MONGO_SERVER=3.6
|
2018-12-20 10:32:14 +00:00
|
|
|
MONGO_SERVER=4.0
|
|
|
|
#MONGO_SERVER=latest
|
2017-05-06 12:18:30 +00:00
|
|
|
|
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
###
|
2016-11-15 18:52:39 +00:00
|
|
|
### 2. Host Mounts (Your computer)
|
2016-10-09 16:47:49 +00:00
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
2018-08-10 07:26:14 +00:00
|
|
|
###
|
|
|
|
### Global mount options
|
|
|
|
###
|
|
|
|
### Note: When adding custom mount options, ensure to start with a
|
|
|
|
### leading ',' (comma), as those options are prepended to already
|
|
|
|
### existing mount options.
|
|
|
|
###
|
|
|
|
### Note: If no mount options are specified, leave this variable empty
|
|
|
|
### and do not add a leading ',' (comman).
|
|
|
|
###
|
|
|
|
### MOUNT_OPTIONS=,cached
|
|
|
|
### MOUNT_OPTIONS=
|
|
|
|
###
|
|
|
|
### Example: Allow to share mounts accross container with SELINUX enabled
|
|
|
|
###
|
|
|
|
### MOUNT_OPTIONS=,z
|
|
|
|
###
|
|
|
|
MOUNT_OPTIONS=
|
|
|
|
|
|
|
|
|
2016-12-22 19:16:39 +00:00
|
|
|
###
|
|
|
|
### Local filesystem path to www projects.
|
|
|
|
###
|
2017-07-05 06:12:07 +00:00
|
|
|
### Note: When changing this variable you must re-create the container.
|
|
|
|
### Simply remove it, it will be auto-created during the next start:
|
|
|
|
###
|
|
|
|
### $ docker-compose rm -f
|
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
HOST_PATH_HTTPD_DATADIR=./data/www
|
2016-10-09 16:47:49 +00:00
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
|
2016-12-22 19:16:39 +00:00
|
|
|
###
|
|
|
|
### Local filesystem path to mysql/mariadb datadir.
|
|
|
|
###
|
|
|
|
### This can be an existing mysql data directory or empty.
|
|
|
|
### If it already is a mysql data directory with content,
|
|
|
|
### it will be mounted into the docker and used.
|
|
|
|
###
|
|
|
|
### If this directory is empty, a new mysql database will be
|
|
|
|
### created.
|
|
|
|
###
|
2017-04-23 14:00:00 +00:00
|
|
|
### Note: Inside this path, a subdirectory with the mysql|mariadb
|
|
|
|
### version will be created where the actual data resides.
|
|
|
|
### This is to protect databases from being altered by
|
|
|
|
### newer or older mysql|mariadb server versions.
|
|
|
|
###
|
2017-07-05 06:12:07 +00:00
|
|
|
### Note: When changing this variable you must re-create the container.
|
|
|
|
### Simply remove it, it will be auto-created during the next start:
|
|
|
|
###
|
|
|
|
### $ docker-compose rm -f
|
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
HOST_PATH_MYSQL_DATADIR=./data/mysql
|
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
|
2016-12-22 19:16:39 +00:00
|
|
|
###
|
|
|
|
### Local filesystem path to postgresql datadir.
|
|
|
|
###
|
|
|
|
### This can be an existing postgresql data directory or empty.
|
|
|
|
### If it already is a postgresql data directory with content,
|
|
|
|
### it will be mounted into the docker and used.
|
|
|
|
###
|
|
|
|
### If this directory is empty, a new postgresql database will be
|
|
|
|
### created.
|
|
|
|
###
|
2017-04-23 14:00:00 +00:00
|
|
|
### Note: Inside this path, a subdirectory with the postgresql
|
|
|
|
### version will be created where the actual data resides.
|
|
|
|
### This is to protect databases from being altered by
|
|
|
|
### newer or older postgres server versions.
|
2017-07-05 06:12:07 +00:00
|
|
|
###
|
|
|
|
### Note: When changing this variable you must re-create the container.
|
|
|
|
### Simply remove it, it will be auto-created during the next start:
|
|
|
|
###
|
|
|
|
### $ docker-compose rm -f
|
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
HOST_PATH_PGSQL_DATADIR=./data/pgsql
|
2016-10-09 16:47:49 +00:00
|
|
|
|
|
|
|
|
2017-05-22 21:23:05 +00:00
|
|
|
###
|
|
|
|
### Local filesystem path to mongodb datadir.
|
|
|
|
###
|
|
|
|
### This can be an existing mongodb data directory or empty.
|
|
|
|
### If it already is a mongodb data directory with content,
|
|
|
|
### it will be mounted into the docker and used.
|
|
|
|
###
|
|
|
|
### If this directory is empty, a new mongodb database will be
|
|
|
|
### created.
|
|
|
|
###
|
2017-07-05 06:12:07 +00:00
|
|
|
### Note: When changing this variable you must re-create the container.
|
|
|
|
### Simply remove it, it will be auto-created during the next start:
|
|
|
|
###
|
|
|
|
### $ docker-compose rm -f
|
|
|
|
###
|
2017-05-22 21:23:05 +00:00
|
|
|
HOST_PATH_MONGO_DATADIR=./data/mongo
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-29 14:36:22 +00:00
|
|
|
################################################################################
|
|
|
|
###
|
|
|
|
### 3. PHP Docker Settings
|
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
###
|
|
|
|
### Enable certain PHP modules which are not enabled by default
|
|
|
|
###
|
2019-01-13 13:20:05 +00:00
|
|
|
### Currently the only modules that can be enabled are 'ioncube' and 'blackfire'
|
|
|
|
### Also ensure to disable xdebug when using any of the above:
|
|
|
|
### https://xdebug.org/docs/install#compat
|
2018-05-21 08:23:55 +00:00
|
|
|
###
|
2019-01-13 13:20:05 +00:00
|
|
|
### PHP_MODULES_ENABLE=ioncube, blackfire
|
2018-05-21 08:23:55 +00:00
|
|
|
###
|
|
|
|
PHP_MODULES_ENABLE=
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
### Disable any PHP modules that you don't require
|
|
|
|
###
|
|
|
|
### Specify a comma separated list without spaces of modules to disable
|
|
|
|
###
|
|
|
|
### PHP_MODULES_DISABLE=xdebug,imagick,swoole
|
|
|
|
###
|
2019-01-13 13:20:05 +00:00
|
|
|
PHP_MODULES_DISABLE=oci8,PDO_OCI,pdo_sqlsrv,sqlsrv,rdkafka,swoole
|
2018-05-21 08:23:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
### Configure everything else about PHP in
|
|
|
|
### * cfg/php-ini-X.X/*.ini
|
|
|
|
### * cfg/php-fpm-X.X/*.conf
|
2017-04-29 14:36:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
###
|
|
|
|
### 4. HTTPD Docker Settings
|
2016-10-09 16:47:49 +00:00
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
2016-12-22 19:16:39 +00:00
|
|
|
###
|
|
|
|
### Expose HTTPD Port to Host
|
|
|
|
###
|
|
|
|
HOST_PORT_HTTPD=80
|
2018-04-30 18:50:28 +00:00
|
|
|
HOST_PORT_HTTPD_SSL=443
|
2016-10-09 16:47:49 +00:00
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
|
2017-09-28 14:30:51 +00:00
|
|
|
###
|
|
|
|
### Document Root Subdirectory
|
|
|
|
###
|
|
|
|
### In your project directory, which subfolder should
|
|
|
|
### serve your files?
|
|
|
|
###
|
|
|
|
### When changing this value, restart the devilbox.
|
|
|
|
###
|
|
|
|
HTTPD_DOCROOT_DIR=htdocs
|
2016-10-09 16:47:49 +00:00
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
|
2017-09-28 14:30:51 +00:00
|
|
|
###
|
|
|
|
### Per vHost Config Subdirectory
|
|
|
|
###
|
|
|
|
### In your project directory, which subfolder should
|
|
|
|
### hold apache, nginx templates for a customized vhost?
|
|
|
|
###
|
|
|
|
### When changing this value, restart the devilbox.
|
|
|
|
###
|
|
|
|
HTTPD_TEMPLATE_DIR=.devilbox
|
2017-09-26 14:58:24 +00:00
|
|
|
|
|
|
|
|
2018-08-05 01:04:03 +00:00
|
|
|
###
|
|
|
|
### Webserver timeout (in seconds) to upstream PHP-FPM server
|
|
|
|
###
|
|
|
|
### This value should be greater than PHP's max_execution_time,
|
|
|
|
### otherwise the php script could still run and the webserver will
|
|
|
|
### simply drop the connection before getting an answer by PHP.
|
|
|
|
###
|
|
|
|
HTTPD_TIMEOUT_TO_PHP_FPM=180
|
|
|
|
|
|
|
|
|
2019-03-04 07:50:04 +00:00
|
|
|
###
|
|
|
|
### NGINX ONLY
|
|
|
|
###
|
|
|
|
### Set worker_processes and worker_connections
|
|
|
|
###
|
|
|
|
### https://nginx.org/en/docs/ngx_core_module.html#worker_processes
|
|
|
|
### https://nginx.org/en/docs/ngx_core_module.html#worker_connections
|
|
|
|
###
|
|
|
|
HTTPD_NGINX_WORKER_PROCESSES=auto
|
|
|
|
HTTPD_NGINX_WORKER_CONNECTIONS=1024
|
|
|
|
|
|
|
|
|
2017-04-29 14:36:22 +00:00
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
################################################################################
|
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
### 5. MySQL Docker Settings
|
2016-10-09 16:47:49 +00:00
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
2016-12-22 19:16:39 +00:00
|
|
|
###
|
|
|
|
### MySQL root user password
|
|
|
|
###
|
2018-05-05 11:23:46 +00:00
|
|
|
### If $HOST_PATH_MYSQL_DATADIR already contains an existing
|
2016-12-22 19:16:39 +00:00
|
|
|
### mysql datadir, enter the password for the existing mysql database
|
|
|
|
###
|
2018-05-05 11:23:46 +00:00
|
|
|
### If $HOST_PATH_MYSQL_DATADIR is empty, choose a new password that
|
2016-12-22 19:16:39 +00:00
|
|
|
### will be applied
|
|
|
|
###
|
2016-10-09 16:47:49 +00:00
|
|
|
MYSQL_ROOT_PASSWORD=
|
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
###
|
|
|
|
### Custom MySQL Runtime Settings
|
|
|
|
###
|
2018-05-03 18:16:02 +00:00
|
|
|
MYSQL_GENERAL_LOG=0
|
2016-10-09 16:47:49 +00:00
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
|
2016-12-22 19:16:39 +00:00
|
|
|
###
|
|
|
|
### Expose MySQL Port to Host
|
|
|
|
###
|
|
|
|
HOST_PORT_MYSQL=3306
|
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
### 6. PostgreSQL Docker Settings
|
2016-10-09 16:47:49 +00:00
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
2016-12-22 19:16:39 +00:00
|
|
|
###
|
|
|
|
### PostgreSQL 'root' user name (usually postgres)
|
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
PGSQL_ROOT_USER=postgres
|
2016-11-15 18:52:39 +00:00
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
|
2016-12-22 19:16:39 +00:00
|
|
|
###
|
|
|
|
### PostgreSQL 'root' user password
|
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
PGSQL_ROOT_PASSWORD=
|
2016-11-15 18:52:39 +00:00
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
|
2016-12-22 19:16:39 +00:00
|
|
|
###
|
2017-05-07 21:04:17 +00:00
|
|
|
### Expose PostgreSQL Port to Host
|
2016-12-22 19:16:39 +00:00
|
|
|
###
|
2017-04-29 14:36:22 +00:00
|
|
|
HOST_PORT_PGSQL=5432
|
2017-04-23 11:20:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
###
|
|
|
|
### 7. Redis Docker Settings
|
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
###
|
2017-05-22 21:23:05 +00:00
|
|
|
### Expose Redis Port to Host
|
2017-04-23 11:20:32 +00:00
|
|
|
###
|
|
|
|
HOST_PORT_REDIS=6379
|
2017-05-06 12:18:30 +00:00
|
|
|
|
2018-08-11 11:50:21 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
### Custom startup arguments
|
|
|
|
###
|
|
|
|
### Apply custom startup arguments to redis
|
|
|
|
###
|
|
|
|
### Example: Password protection
|
|
|
|
### Add password protection to the Redis server by specifying it should
|
|
|
|
### require a password.
|
|
|
|
### Note: Do not add quotes or spaces to the password
|
|
|
|
###
|
|
|
|
### REDIS_ARGS=--requirepass my-redis-root-password
|
2018-07-05 21:50:24 +00:00
|
|
|
###
|
2018-08-11 20:42:19 +00:00
|
|
|
### Example: Verbosity
|
|
|
|
###
|
|
|
|
### REDIS_ARGS=--loglevel verbose
|
2018-07-05 21:50:24 +00:00
|
|
|
###
|
2018-08-11 11:50:21 +00:00
|
|
|
REDIS_ARGS=
|
2018-08-11 20:42:19 +00:00
|
|
|
#REDIS_ARGS=--loglevel verbose --requirepass my-redis-root-password
|
2018-07-05 21:50:24 +00:00
|
|
|
|
2017-05-06 12:18:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
###
|
|
|
|
### 8. Memcached Docker Settings
|
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
###
|
2017-05-22 21:23:05 +00:00
|
|
|
### Expose Memcached Port to Host
|
2017-05-06 12:18:30 +00:00
|
|
|
###
|
2017-05-20 18:12:31 +00:00
|
|
|
HOST_PORT_MEMCD=11211
|
2017-05-10 19:27:10 +00:00
|
|
|
|
|
|
|
|
2017-05-26 07:02:16 +00:00
|
|
|
|
2017-05-10 19:27:10 +00:00
|
|
|
################################################################################
|
|
|
|
###
|
2017-05-22 21:23:05 +00:00
|
|
|
### 9. MongoDB Docker Settings
|
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
###
|
|
|
|
### Expose MongoDB Port to Host
|
|
|
|
###
|
|
|
|
HOST_PORT_MONGO=27017
|
|
|
|
|
|
|
|
|
2017-05-26 07:02:16 +00:00
|
|
|
|
2017-05-22 21:23:05 +00:00
|
|
|
################################################################################
|
|
|
|
###
|
|
|
|
### 10. Bind Docker Settings
|
2017-05-10 19:27:10 +00:00
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
###
|
2017-05-22 21:23:05 +00:00
|
|
|
### Expose Bind Port to Host
|
2017-05-10 19:27:10 +00:00
|
|
|
###
|
2017-06-17 11:08:30 +00:00
|
|
|
HOST_PORT_BIND=1053
|
2017-05-24 07:31:03 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
### Add comma separated DNS server from which you want to receive DNS
|
|
|
|
### You can also add DNS servers from your LAN (if any are available)
|
|
|
|
###
|
|
|
|
BIND_DNS_RESOLVER=8.8.8.8,8.8.4.4
|
2017-09-26 17:53:31 +00:00
|
|
|
|
2018-04-28 10:15:41 +00:00
|
|
|
###
|
|
|
|
### Validate DNSSEC
|
|
|
|
###
|
|
|
|
### Values:
|
|
|
|
### no: DNSSEC validation is disabled
|
|
|
|
### yes: DNSSEC validation is enabled, but a trust anchor must be manually configured.
|
|
|
|
### auto: DNSSEC validation is enabled, and a default trust anchor for root zone is used.
|
|
|
|
###
|
|
|
|
BIND_DNSSEC_VALIDATE=no
|
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
|
2018-04-28 10:15:41 +00:00
|
|
|
###
|
|
|
|
### Bind timing options (time in seconds)
|
|
|
|
###
|
|
|
|
### Leave empty for defaults.
|
|
|
|
### Only change when you know what you are doing.
|
|
|
|
###
|
|
|
|
BIND_TTL_TIME=
|
|
|
|
BIND_REFRESH_TIME=
|
|
|
|
BIND_RETRY_TIME=
|
|
|
|
BIND_EXPIRY_TIME=
|
|
|
|
BIND_MAX_CACHE_TIME=
|
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
|
2018-04-28 10:15:41 +00:00
|
|
|
###
|
|
|
|
### Show DNS Queries in Docker logs output?
|
|
|
|
###
|
|
|
|
### 1: Yes
|
|
|
|
### 0: No
|
|
|
|
BIND_LOG_DNS_QUERIES=0
|
|
|
|
|
2017-09-26 17:53:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
###
|
|
|
|
### 11. Custom variables
|
|
|
|
###
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
###
|
|
|
|
### Any variable defined in this file will be available
|
|
|
|
### as environment variables to your PHP/HHV Docker container.
|
|
|
|
###
|
2017-12-29 18:53:31 +00:00
|
|
|
### This might be useful to set application environment and retrieve
|
2017-09-26 17:53:31 +00:00
|
|
|
### them via: <?php getenv('MY_APPLICATION_ENV'); ?>
|
|
|
|
###
|
|
|
|
|
2018-05-21 08:23:55 +00:00
|
|
|
|
2017-09-26 17:53:31 +00:00
|
|
|
###
|
|
|
|
### Example:
|
2017-12-29 18:53:31 +00:00
|
|
|
### <?php echo getenv('Foo'); ?> would produce: 'some value'
|
2017-09-26 17:53:31 +00:00
|
|
|
###
|
|
|
|
#Foo=some value
|