1 Star 0 Fork 144

一凡通科技/laravel-bjyblog

forked from 白俊遥/laravel-bjyblog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
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.19
container_name: laravel-bjyblog-nginx
volumes:
- .:/app
- ./deploy/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:8.1-${APP_ENV}
container_name: laravel-bjyblog-php
tty: true
volumes:
- .:/app
- ~/.composer:/root/.composer
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:
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/3338904/laravel-bjyblog.git
[email protected]:3338904/laravel-bjyblog.git
3338904
laravel-bjyblog
laravel-bjyblog
master

搜索帮助