1 Star 0 Fork 114

shawn / fastapi-vue-blog

forked from Hendy.xu / fastapi-vue-blog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
webappSimple-compose.yml 781 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hendy.xu 提交于 2022-03-08 18:51 . fix bug
version: '3'
services:
webapp:
build:
context: .
dockerfile: webappSimple.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
Python
1
https://gitee.com/wx_3d25ad0b9a/fastapi-vue-blog.git
git@gitee.com:wx_3d25ad0b9a/fastapi-vue-blog.git
wx_3d25ad0b9a
fastapi-vue-blog
fastapi-vue-blog
master

搜索帮助