mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-18 20:37:55 +00:00
Add new PHP container namespace
This commit is contained in:
parent
abb7b8dd5d
commit
dcad1b2387
11
.gitignore
vendored
11
.gitignore
vendored
@ -13,14 +13,11 @@
|
||||
# CUSTOM
|
||||
######################################
|
||||
|
||||
# Keep folders
|
||||
!.keepme
|
||||
|
||||
# Ignore variable dat
|
||||
/.env
|
||||
/log/[a-z0-9-]*
|
||||
/data/
|
||||
/backups/
|
||||
/data/*
|
||||
/backups/*
|
||||
|
||||
# Ignore custom HTTPD configs
|
||||
/cfg/apache-2.2/*.conf
|
||||
@ -64,6 +61,10 @@
|
||||
!/bash/bashrc.sh-example
|
||||
!/bash/README.md
|
||||
|
||||
# Keep folders
|
||||
!.keepme
|
||||
|
||||
|
||||
######################################
|
||||
# GENERIC
|
||||
######################################
|
||||
|
0
backups/.keepme
Normal file
0
backups/.keepme
Normal file
0
data/.keepme
Normal file
0
data/.keepme
Normal file
@ -63,7 +63,7 @@ services:
|
||||
# PHP / HHVM
|
||||
# ------------------------------------------------------------
|
||||
php:
|
||||
image: cytopia/${PHP_SERVER:-php-fpm-7.0}:latest
|
||||
image: devilbox/php-fpm:${PHP_SERVER:-7.0}-work
|
||||
restart: always
|
||||
|
||||
##
|
||||
@ -80,6 +80,7 @@ services:
|
||||
## Debug?
|
||||
##
|
||||
- DEBUG_COMPOSE_ENTRYPOINT
|
||||
- DOCKER_LOGS=0
|
||||
|
||||
##
|
||||
## UserID and GroupID
|
||||
@ -136,7 +137,7 @@ services:
|
||||
- ${HOST_PATH_HTTPD_DATADIR}:/shared/httpd
|
||||
|
||||
# Mount logs
|
||||
- ${DEVILBOX_PATH}/log/${PHP_SERVER}:/var/log/php
|
||||
- ${DEVILBOX_PATH}/log/php-fpm-${PHP_SERVER}:/var/log/php
|
||||
|
||||
# Mount Mail directory
|
||||
#- ${DEVILBOX_PATH}/run/mail:/var/mail
|
||||
@ -146,11 +147,11 @@ services:
|
||||
|
||||
# Mount devilbox user-defined *.ini files in order
|
||||
# to overwrite the default PHP configuration
|
||||
- ${DEVILBOX_PATH}/cfg/${PHP_SERVER}:/etc/php-custom.d:ro
|
||||
- ${DEVILBOX_PATH}/cfg/php-fpm-${PHP_SERVER}:/etc/php-custom.d:ro
|
||||
|
||||
# Mount devilbox user-defined *.so files in order
|
||||
# to load custom PHP modules
|
||||
- ${DEVILBOX_PATH}/mod/${PHP_SERVER}:/usr/lib64/php/custom-modules:ro
|
||||
- ${DEVILBOX_PATH}/mod/php-fpm-${PHP_SERVER}:/usr/lib64/php/custom-modules:ro
|
||||
|
||||
# Mount devilbox user-defined bash config
|
||||
- ${DEVILBOX_PATH}/bash:/etc/bashrc-devilbox.d
|
||||
|
@ -172,7 +172,7 @@ DEVILBOX_UI_DISABLE=0
|
||||
#PHP_SERVER=php-fpm-5.5
|
||||
#PHP_SERVER=php-fpm-5.6
|
||||
#PHP_SERVER=php-fpm-7.0
|
||||
PHP_SERVER=php-fpm-7.1
|
||||
PHP_SERVER=7.1
|
||||
#PHP_SERVER=php-fpm-7.2
|
||||
#PHP_SERVER=hhvm-latest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user