18 lines
343 B
YAML
18 lines
343 B
YAML
|
version: '3.1'
|
||
|
|
||
|
services:
|
||
|
mdbook:
|
||
|
container_name: test-mdbook
|
||
|
# https://hub.docker.com/r/peaceiris/mdbook/tags
|
||
|
image: peaceiris/mdbook:v0.4.21-rust
|
||
|
stdin_open: true
|
||
|
tty: true
|
||
|
ports:
|
||
|
- 13000:3000
|
||
|
- 13001:3001
|
||
|
volumes:
|
||
|
- ./book:/book
|
||
|
command:
|
||
|
- serve
|
||
|
- --hostname
|
||
|
- '0.0.0.0'
|