代码拉取完成,页面将自动刷新
同步操作将从 白俊遥/laravel-bjyblog 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: "3.7"
services:
traefik:
image: traefik:v2.1
command: --api.insecure=true --providers.docker
ports:
- "80:80"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
mysql:
image: baijunyao/mysql:8.0
container_name: laravel-bjyblog-mysql
environment:
- MYSQL_ROOT_PASSWORD=laravel_bjyblog
- MYSQL_DATABASE=laravel_bjyblog
- MYSQL_USER=root
- MYSQL_PASSWORD=laravel_bjyblog
volumes:
- mysql:/var/lib/mysql
labels:
- traefik.enable=false
redis:
image: redis:5
container_name: laravel-bjyblog-redis
labels:
- traefik.enable=false
nginx:
image: baijunyao/nginx:1.7
container_name: laravel-bjyblog-nginx
volumes:
- .:/app
- ./docker/nginx/laravel-bjyblog.conf:/etc/nginx/conf.d/laravel-bjyblog.conf
labels:
- traefik.port=80
- "traefik.http.routers.laravel-bjyblog-nginx.rule=Host(`laravel-bjyblog.test`)"
environment:
FASTCGI_PASS: php:9000
DOCUMENT_ROOT: /app/public
php:
image: baijunyao/php:7.4-${APP_ENV}
container_name: laravel-bjyblog-php
tty: true
volumes:
- .:/app
environment:
REDIS_HOST: redis
DB_HOST: mysql
labels:
- traefik.enable=false
elasticsearch:
image: baijunyao/elasticsearch:7.6
container_name: laravel-bjyblog-elasticsearch
environment:
- discovery.type=single-node
volumes:
mysql:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。