add scripts

This commit is contained in:
oscarz
2025-03-26 18:29:42 +08:00
parent ff034b6994
commit bc08542200

View File

@ -0,0 +1,29 @@
version: '3'
services:
akdocker:
image: registry.cn-shanghai.aliyuncs.com/akfamily/aktools:jupyter
container_name: akdocker
platform: linux/x86_64 # 强制使用 x86_64 平台
networks:
- devops # 你之前创建的 devops 网络
environment:
- TZ=Asia/Shanghai
ports:
- "8888:8888"
volumes:
- ~/dockers/akshare/hostdir:/home
- ~/dockers/sharedata:/root/sharedata # 挂载一个docker之间共享的目录
command: jupyter-lab --allow-root --no-browser --ip=0.0.0.0
stdin_open: true
tty: true
networks:
devops:
external: true # 你已有的 devops 网络