CoolFace
Apppublic

marii/study_group_example

sourceHugging Faceupdated 4y agoView on Hugging Face
0likes
docker-compose.yml36 linesDownload Raw Back to root
1version: "3"2services:3  fastai: &fastai4    restart: unless-stopped5    working_dir: /data6    image: fastai/codespaces7    logging:8      driver: json-file9      options:10        max-size: 50m11    stdin_open: true12    tty: true13    volumes:14      - .:/data/15 16  notebook:17    <<: *fastai18    command: bash -c "pip install -e . && jupyter notebook --allow-root --no-browser --ip=0.0.0.0 --port=8080 --NotebookApp.token='' --NotebookApp.password=''"19    ports:20      - "8080:8080"21 22  watcher:23    <<: *fastai24    command: watchmedo shell-command --command nbdev_build_docs --pattern *.ipynb --recursive --drop25    network_mode: host # for GitHub Codespaces https://github.com/features/codespaces/26 27  jekyll:28    <<: *fastai29    ports:30     - "4000:4000"31    command: >32     bash -c "pip install .33     && nbdev_build_docs && cd docs34     && bundle i35     && chmod -R u+rwx . && bundle exec jekyll serve --host 0.0.0.0"36