add scripts
This commit is contained in:
29
docker/akshare/docker-compose.yml
Normal file
29
docker/akshare/docker-compose.yml
Normal 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 网络
|
||||
Reference in New Issue
Block a user