version: "3" services: fastai: &fastai restart: unless-stopped working_dir: /data image: fastai/codespaces logging: driver: json-file options: max-size: 50m stdin_open: true tty: true volumes: - .:/data/ ide: <<: *fastai command: /bin/bash network_mode: host notebook: <<: *fastai command: bash -c "jupyter notebook --allow-root --no-browser --ip=0.0.0.0 --port=8080 --NotebookApp.token='' --NotebookApp.password=''" ports: - "8080:8080"