代码拉取完成,页面将自动刷新
同步操作将从 guoliang1994/docker_PRE 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3.5'
services:
nginx:
container_name: ${APP_NAME}_nginx
restart: always
privileged: true
working_dir: /www
build:
context: ./build/nginx
ports:
- "8001-8090:8001-8090"
volumes:
- ${PROJECT_DIR}:/www:rw
- ./nginx/config/nginx.conf:/usr/local/nginx/conf/nginx.conf:ro
- ./nginx/config/conf.d:/usr/local/nginx/conf/conf.d:rw
- ./nginx/log:/var/log/nginx:rw
command:
- sh
- -c
- |
exec nginx -g 'daemon off;'
php:
container_name: ${APP_NAME}_php
restart: always
privileged: true
working_dir: /www
links:
- mysql
build:
context: ./build/php
args:
PHP_VERSION: ${PHP_VERSION}
ports:
- "80:80"
- "443:443"
- "8888:8888"
- '9900-10000:9900-10000'
volumes:
- ${PROJECT_DIR}:/www:rw
- ./php/conf/php-fpm.conf:/usr/local/etc/php/php-fpm.conf
- ./php/conf/php.ini:/usr/local/etc/php/php.ini
- ./php/log:/var/log:rw
# command:
# - sh
# - -c
# - |
# set eux \
# && php-fpm -R
# && rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
# && cd /www/blog/laravel-bjyblog \
# && php artisan swoole:http start
mysql:
image: mysql:${MYSQL_VERSION}
container_name: ${APP_NAME}_mysql
restart: always
privileged: true
ports:
- "${MYSQL_PORT}:3306"
volumes:
- ${PROJECT_DIR}:/www:rw
- ./mysql/data:/var/lib/mysql:rw
- ./mysql/config/mysql.cnf:/etc/mysql/conf.d/mysql.cnf:ro
- ./mysql/log:/var/log/mysql:rw
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_PASSWORD}
redis:
image: redis:latest
container_name: ${APP_NAME}_redis
restart: always
privileged: true
ports:
- "${REDIS_PORT}:6379"
volumes:
- ./redis/config/redis.conf:/usr/local/etc/redis/redis.conf:ro
- ./redis/log/redis.log:/var/log/redis/redis.log:rw
solr:
image: solr
container_name: ${APP_NAME}_solr
restart: always
privileged: true
ports:
- ${SOLR_PORT}:8983
command:
- solr-precreate
- test
volumes:
- ./solr/data:/var/solr:rw
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。