devilbox/env-example

193 lines
4.3 KiB
Plaintext
Raw Normal View History

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
###
### 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)
###
################################################################################
###
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.
###
###
### 1.1 Choose HTTP Server Image
###
#HTTPD_SERVER=apache-2.2
2016-10-17 02:05:30 +00:00
#HTTPD_SERVER=apache-2.4
HTTPD_SERVER=nginx-stable
#HTTPD_SERVER=nginx-mainline
2016-10-09 16:47:49 +00:00
###
### 1.2 Choose MySQL Server Image
###
2016-11-15 18:52:39 +00:00
#MYSQL_SERVER=mysql-5.5
#MYSQL_SERVER=mysql-5.6
2016-11-15 18:52:39 +00:00
MYSQL_SERVER=mysql-5.7
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
2016-10-30 15:11:54 +00:00
#MYSQL_SERVER=mariadb-10.1
#MYSQL_SERVER=mariadb-10.2
2016-10-25 20:27:34 +00:00
2016-10-09 16:47:49 +00:00
###
2016-11-15 18:52:39 +00:00
### 1.3 Choose PostgreSQL Server Image
2016-10-09 16:47:49 +00:00
###
2016-11-15 18:52:39 +00:00
#POSTGRES_SERVER=9.1
#POSTGRES_SERVER=9.2
#POSTGRES_SERVER=9.3
#POSTGRES_SERVER=9.4
#POSTGRES_SERVER=9.5
POSTGRES_SERVER=9.6
2016-10-09 16:47:49 +00:00
2016-11-15 18:52:39 +00:00
###
### 1.4 Choose PHP Server Image
###
2016-10-10 08:16:09 +00:00
#PHP_SERVER=php-fpm-5.4
2016-10-09 16:49:28 +00:00
#PHP_SERVER=php-fpm-5.5
2016-10-09 16:47:49 +00:00
PHP_SERVER=php-fpm-5.6
2016-10-09 16:49:28 +00:00
#PHP_SERVER=php-fpm-7.0
#PHP_SERVER=php-fpm-7.1
2016-11-15 18:52:39 +00:00
#PHP_SERVER=hhvm-3
2016-10-09 16:47:49 +00:00
###
2016-11-15 18:52:39 +00:00
### 1.5 Timezone for all dockers and service config files
2016-10-09 16:47:49 +00:00
###
TIMEZONE=Europe/Berlin
################################################################################
###
2016-11-15 18:52:39 +00:00
### 2. Host Mounts (Your computer)
2016-10-09 16:47:49 +00:00
###
################################################################################
##
## Local filesystem path to www projects.
##
##
2016-11-15 18:52:39 +00:00
HOST_PATH_TO_WWW_DOCROOTS=~/Sites
2016-10-09 16:47:49 +00:00
##
2016-11-15 18:52:39 +00:00
## Local filesystem path to mysql/mariadb datadir.
2016-10-09 16:47:49 +00:00
##
## 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.
##
2016-11-15 18:52:39 +00:00
HOST_PATH_TO_MYSQL_DATADIR=~/data/mysql57
2016-10-09 16:47:49 +00:00
2016-11-15 18:52: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.
##
HOST_PATH_TO_POSTGRES_DATADIR=~/data/postgres96
2016-10-09 16:47:49 +00:00
################################################################################
###
### 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
################################################################################
###
2016-11-15 18:52:39 +00:00
### 5. PostgreSQL Docker Settings
2016-10-09 16:47:49 +00:00
###
################################################################################
2016-11-15 18:52:39 +00:00
##
## PostgreSQL 'root' user name (usually postgres)
##
POSTGRES_USER=postgres
##
## PostgreSQL 'root' user password
##
POSTGRES_PASSWORD=
################################################################################
###
### 6. PHP-FPM Docker Settings
###
################################################################################
2016-10-09 16:47:49 +00:00
###
### Xdebug
###
# Enable/Disable Xdebug
2016-10-10 08:16:09 +00:00
PHP_XDEBUG_ENABLE=1
2016-10-09 16:47:49 +00:00
# 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
2016-11-15 18:52:39 +00:00
## TODO: Check if it works by automatically sending it to the broadcast address