mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-21 05:43:08 +00:00
162 lines
3.2 KiB
Plaintext
162 lines
3.2 KiB
Plaintext
###
|
|
### ---------------------------------------------------
|
|
### 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
|
|
###
|
|
### No need to rebuild any dockers!
|
|
###
|
|
|
|
|
|
###
|
|
### Show all executed commands in each
|
|
### docker image during docker-compose up?
|
|
###
|
|
### 1: Yes
|
|
### 0: No
|
|
DEBUG_COMPOSE_ENTRYPOINT=0
|
|
|
|
|
|
|
|
################################################################################
|
|
###
|
|
### 1. Choose Images (Version)
|
|
###
|
|
################################################################################
|
|
|
|
###
|
|
### You can choose any combination of httpd, mysql or php.
|
|
### Each of them are fully compatible between one another.
|
|
###
|
|
|
|
|
|
###
|
|
### 1.1 Choose HTTP Server Image
|
|
###
|
|
|
|
#HTTPD_SERVER=apache-2.2
|
|
#HTTPD_SERVER=apache-2.4
|
|
HTTPD_SERVER=nginx-stable
|
|
#HTTPD_SERVER=nginx-mainline
|
|
|
|
|
|
###
|
|
### 1.2 Choose MySQL Server Image
|
|
###
|
|
|
|
MYSQL_SERVER=mysql-5.5
|
|
|
|
|
|
###
|
|
### 1.3 Choose PHP Server Image
|
|
###
|
|
|
|
#PHP_SERVER=php-fpm-5.4
|
|
#PHP_SERVER=php-fpm-5.5
|
|
PHP_SERVER=php-fpm-5.6
|
|
#PHP_SERVER=php-fpm-7.0
|
|
#PHP_SERVER=php-fpm-7.1
|
|
|
|
|
|
|
|
###
|
|
### 1.4 Timezone for all dockers and service config files
|
|
###
|
|
|
|
TIMEZONE=Europe/Berlin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
###
|
|
### 2. Host Settings (Your computer)
|
|
###
|
|
################################################################################
|
|
|
|
|
|
##
|
|
## Local filesystem path to www projects.
|
|
##
|
|
##
|
|
HOST_PATH_TO_WWW_DOCROOTS=./data/www
|
|
|
|
##
|
|
## Local filesystem path to mysql 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.
|
|
##
|
|
HOST_PATH_TO_MYSQL_DATADIR=./data/mysql
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
###
|
|
### 3. HTTP Docker Settings
|
|
###
|
|
################################################################################
|
|
|
|
# - no options here
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
###
|
|
### 4. MySQL Docker Settings
|
|
###
|
|
################################################################################
|
|
|
|
##
|
|
## MySQL root user password
|
|
##
|
|
## If $HOST_PATH_TO_MYSQL_DATADIR already contains an existing
|
|
## mysql datadir, enter the password for the existing mysql database
|
|
##
|
|
## If $HOST_PATH_TO_MYSQL_DATADIR is empty, choose a new password that
|
|
## will be applied
|
|
##
|
|
MYSQL_ROOT_PASSWORD=
|
|
|
|
|
|
###
|
|
### Custom MySQL Runtime Settings
|
|
###
|
|
|
|
MYSQL_GENERAL_LOG=1
|
|
|
|
|
|
|
|
################################################################################
|
|
###
|
|
### 5. PHP-FPM Docker Settings
|
|
###
|
|
################################################################################
|
|
|
|
|
|
###
|
|
### Xdebug
|
|
###
|
|
|
|
# Enable/Disable Xdebug
|
|
PHP_XDEBUG_ENABLE=1
|
|
|
|
# Your local port (your computer host [not the docker])
|
|
# where your ide/editor is listening for xdebug connections.
|
|
PHP_XDEBUG_REMOTE_PORT=9000
|
|
|
|
# Your local IP address (your computer host [not the docker])
|
|
# where your ide/editor is listening for xdebug connections.
|
|
PHP_XDEBUG_REMOTE_HOST=172.20.10.2
|
|
|