version: '3.8' services: cocalc: image: sagemathinc/cocalc-docker:latest container_name: cocalc restart: unless-stopped ports: - "8080:443" # expose CoCalc HTTPS on port 8080 # or "443:443" if you want it directly bound to 443 volumes: # Persistent project and home directories - /mnt/data/cocalc/projects:/projects - /mnt/data/cocalc/home:/home/cocalc # Optional: shared local "library of documents" - /mnt/data/cocalc/library:/projects/library environment: - TZ=America/Los_Angeles - COCALC_NATS_AUTH=false # disable NATS auth for standalone use # - COCALC_ADMIN_PASSWORD="REDACTED_PASSWORD" # optional admin password # - COCALC_NO_IDLE_TIMEOUT=true # optional: stop idle shutdowns