version: '3.9' services: sagemath: image: sagemath/sagemath:latest ports: - 8888:8888 volumes: - /mnt/docker/data/sagemath:/home/sage/notebooks command: - sage-jupyter