Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

docker-compose.yml 946 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  1. version: "3"
  2. services:
  3. fastai: &fastai
  4. restart: unless-stopped
  5. working_dir: /data
  6. image: fastai/codespaces
  7. logging:
  8. driver: json-file
  9. options:
  10. max-size: 50m
  11. stdin_open: true
  12. tty: true
  13. volumes:
  14. - .:/data/
  15. notebook:
  16. <<: *fastai
  17. command: bash -c "pip install -e . && jupyter notebook --allow-root --no-browser --ip=0.0.0.0 --port=8080 --NotebookApp.token='' --NotebookApp.password=''"
  18. ports:
  19. - "8080:8080"
  20. watcher:
  21. <<: *fastai
  22. command: watchmedo shell-command --command nbdev_build_docs --pattern *.ipynb --recursive --drop
  23. network_mode: host # for GitHub Codespaces https://github.com/features/codespaces/
  24. jekyll:
  25. <<: *fastai
  26. ports:
  27. - "4000:4000"
  28. command: >
  29. bash -c "cp -r docs_src docs
  30. && pip install .
  31. && nbdev_build_docs && cd docs
  32. && bundle i
  33. && chmod -R u+rwx . && bundle exec jekyll serve --host 0.0.0.0"
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...