File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ services:
1111 # - ./97-memcached.ini:${PHP_INI_DIR}/97-memcached.ini
1212 - ./${XDEBUG_CONFIG_FILE:-98-xdebug.ini}:${PHP_INI_DIR}/98-xdebug.ini
1313 - ./99-custom-php-conf.ini:${PHP_INI_DIR}/99-custom-php-conf.ini
14- - ./apache_default.conf:${APACHE_CONF_DIR}/000-default.conf
14+ - ./apache_default.conf:${APACHE_CONF_DIR}/000-default.conf
15+ restart : ${RESTART_POLICY:-no}
Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ APACHE_CONF_DIR=/etc/apache2/sites-available
88# Optional environment variables
99# APP_PORT=8000
1010# PHP_VERSION=5.6
11+ # RESTART_POLICY=on-failure
1112# XDEBUG_CONFIG_FILE=98-xdebug-php5.ini
Original file line number Diff line number Diff line change @@ -17,14 +17,15 @@ Exemple:
1717COMPOSE_FILE=.docker/apachephp/app.yml,.docker/database/mysql.yml,.docker/database/phpmyadmin.yml
1818
1919# [Optional] You can set php version, recommanded: 7.4, 8.4+
20- APP_PORT=APP_PORT
2120PHP_VERSION=8.4
2221
2322# [Optional] php5 support, recommanded: 5.6
2423PHP_VERSION=5.6
2524XDEBUG_CONFIG_FILE=98-xdebug-php5.ini
2625
27- #...
26+ # [Optional] Anothers docker settings, look at .env for complete list
27+ APP_PORT=8000
28+ RESTART_POLICY=on-failure
2829```
2930
3031Once prepare, use command lines:
You can’t perform that action at this time.
0 commit comments