generated from fastai/fastpages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (34 loc) · 927 Bytes
/
docker-compose.yml
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
37
services:
fastpages: &fastpages
working_dir: /data
environment:
- INPUT_BOOL_SAVE_MARKDOWN=false
build:
context: ./_action_files
dockerfile: ./Dockerfile
image: fastpages-dev
logging:
driver: json-file
options:
max-size: 50m
stdin_open: true
tty: true
volumes:
- .:/data/
converter:
<<: *fastpages
command: /fastpages/action_entrypoint.sh
watcher:
<<: *fastpages
command: watchmedo shell-command --command /fastpages/action_entrypoint.sh --pattern *.ipynb --recursive --drop
network_mode: host # for GitHub Codespaces https://github.com/features/codespaces/
jekyll:
working_dir: /data
image: fastai/fastpages-jekyll
restart: unless-stopped
ports:
- "4000:4000"
volumes:
- .:/data/
command: >
bash -c "gem install bundler -v 2.4.22 && jekyll serve --trace --strict_front_matter"