1 Star 0 Fork 119

super/fastapi-vue-blog

forked from Hendy.xu/fastapi-vue-blog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 775 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hendy.xu 提交于 2022-05-28 20:21 . 1.添加.env
version: '3'
services:
webapp:
build:
context: .
dockerfile: webapp.dockerfile
ports:
- 9527:5000
depends_on:
- mysql
- elasticsearch
mysql:
image: "mariadb:10.5.9-focal"
environment:
- MYSQL_ROOT_HOST=%
- MYSQL_ROOT_PASSWORD=fastapivueblog12306
- MYSQL_DATABASE=FastAPIVueBlog
# - MYSQL_USER=root
- MYSQL_PASSWORD=fastapivueblog12306
ports:
- 13306:3306
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
elasticsearch:
build:
context: .
dockerfile: elasticsearch.dockerfile
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- 19200:9200
- 19300:9300
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/fitersu/fastapi-vue-blog.git
git@gitee.com:fitersu/fastapi-vue-blog.git
fitersu
fastapi-vue-blog
fastapi-vue-blog
master

搜索帮助