1 Star 0 Fork 4

哈曼顿/stock

forked from laipzh/stock 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2021-04-22 15:31 . 修改docker-compose
version: "3"
services:
stock:
image: pythonstock/pythonstock:latest
container_name: stock
ports:
- "8888:8888"
- "9999:9999"
volumes:
- "./data/notebooks:/data/notebooks"
- "./data/logs:/data/logs"
environment:
MYSQL_HOST: mysqldb
MYSQL_USER: root
MYSQL_PWD: mysqldb
MYSQL_DB: stock_data
LANG: zh_CN.UTF-8
LC_CTYPE: zh_CN.UTF-8
PYTHONIOENCODING: utf-8
# 测试使用,自己需注册,申请:https://tushare.pro/user/token
# TUSHARE_TOKEN: 007b2f24bc3afb5ff5c604b0aee583956840210348169bc2436bddf9
TUSHARE_TOKEN: 4497903adce6791f20e464f5c96886e37de06638cd71d3a508ae87db
links:
- mysqldb:mysqldb
# restart: always
mysqldb:
image: mysql:5.7
container_name: mysqldb
ports:
- "3306:3306"
# volumes:
# - "./data/mysqldb/data:/var/lib/mysql"
environment:
MYSQL_ROOT_PASSWORD: mysqldb
MYSQL_DATABASE: stock_data
TZ: Asia/Shanghai
# restart: always
pmd:
image: phpmyadmin/phpmyadmin
container_name: pmd
links:
- mysqldb:mysqldb
ports:
- "8080:80"
environment:
PMA_HOST: mysqldb
PMA_PORT: 3306
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangzhengrose_admin/stock.git
git@gitee.com:zhangzhengrose_admin/stock.git
zhangzhengrose_admin
stock
stock
master

搜索帮助