代码拉取完成,页面将自动刷新
同步操作将从 yeszao/dnmp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: "3"
services:
nginx:
image: nginx:${NGINX_VERSION}
ports:
- "${NGINX_HTTP_HOST_PORT}:80"
- "${NGINX_HTTPS_HOST_PORT}:443"
volumes:
- ${SOURCE_DIR}:/var/www/html/:rw
- ${NGINX_CONFD_DIR}:/etc/nginx/conf.d/:rw
- ${NGINX_CONF_FILE}:/etc/nginx/nginx.conf:ro
- ${NGINX_LOG_DIR}:/var/log/nginx/:rw
restart: always
networks:
- default
php72:
build:
context: .
args:
PHP_VERSION: ${PHP72_VERSION}
ALPINE_REPOSITORIES: ${ALPINE_REPOSITORIES}
PHP_EXTENSIONS: ${PHP72_EXTENSIONS}
MORE_EXTENSION_INSTALLER: php72.sh
volumes:
- ${SOURCE_DIR}:/var/www/html/:rw
- ${PHP72_PHP_CONF_FILE}:/usr/local/etc/php/php.ini:ro
- ${PHP72_FPM_CONF_FILE}:/usr/local/etc/php-fpm.d/www.conf:rw
- ${PHP72_LOG_DIR}:/var/log/php
restart: always
cap_add:
- SYS_PTRACE
networks:
- default
php56:
build:
context: .
args:
PHP_VERSION: ${PHP56_VERSION}
ALPINE_REPOSITORIES: ${ALPINE_REPOSITORIES}
PHP_EXTENSIONS: ${PHP56_EXTENSIONS}
MORE_EXTENSION_INSTALLER: php56.sh
volumes:
- ${SOURCE_DIR}:/var/www/html/:rw
- ${PHP56_PHP_CONF_FILE}:/usr/local/etc/php/php.ini:ro
- ${PHP56_FPM_CONF_FILE}:/usr/local/etc/php-fpm.d/www.conf:rw
- ${PHP56_LOG_DIR}:/var/log/php
restart: always
cap_add:
- SYS_PTRACE
networks:
- default
mysql:
image: mysql:${MYSQL_VERSION}
ports:
- "${MYSQL_HOST_PORT}:3306"
volumes:
- ${MYSQL_CONF_FILE}:/etc/mysql/conf.d/mysql.cnf:ro
- ${MYSQL_DATA_DIR}:/var/lib/mysql/:rw
restart: always
networks:
- default
environment:
MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"
redis:
image: redis:${REDIS_VERSION}
ports:
- "${REDIS_HOST_PORT}:6379"
volumes:
- ${REDIS_CONF_FILE}:/etc/redis.conf:ro
restart: always
entrypoint: ["redis-server", "/etc/redis.conf"]
networks:
- default
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
ports:
- "${PHPMYADMIN_HOST_PORT}:80"
networks:
- default
environment:
- PMA_HOST=mysql
- PMA_PORT=3306
phpredisadmin:
image: erikdubbelboer/phpredisadmin:latest
ports:
- "${REDISMYADMIN_HOST_PORT}:80"
networks:
- default
environment:
- REDIS_1_HOST=redis
- REDIS_1_PORT=6379
networks:
default:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。