progress
This commit is contained in:
parent
3eec3e6bf8
commit
fb60f5f4f6
21
docker/trading/compose/docker-compose.yml
Normal file
21
docker/trading/compose/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
version: "3.8"
|
||||||
|
#==================================================
|
||||||
|
# Relies on the file `.env` content for varables:
|
||||||
|
# BOOK
|
||||||
|
# JUPYTER_PORT
|
||||||
|
#==================================================
|
||||||
|
services:
|
||||||
|
executor:
|
||||||
|
image: cloud21.cvtt.vpn:5500/executor:latest
|
||||||
|
container_name: executor.${BOOK}
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- BOOK=${BOOK}
|
||||||
|
volumes:
|
||||||
|
- ${ROOT_DIR}/notebooks:/workspace
|
||||||
|
- ${ROOT_DIR}/jupyter_settings/user-settings:/root/.jupyter/lab/user-settings
|
||||||
|
- ${ROOT_DIR}/jupyter_settings/workspaces:/root/.jupyter/lab/workspaces
|
||||||
|
- ${ROOT_DIR}/.cache/torch:/root/.cache/torch
|
||||||
|
ports:
|
||||||
|
- "${JUPYTER_PORT}:${JUPYTER_PORT}"
|
||||||
|
shm_size: "8gb"
|
||||||
Loading…
x
Reference in New Issue
Block a user