test-mdbook/docker-compose.yml

21 lines
376 B
YAML
Raw Normal View History

2022-10-19 00:48:32 +10:00
version: '3.1'
services:
mdbook:
container_name: test-mdbook
# https://hub.docker.com/r/peaceiris/mdbook/tags
2023-06-11 16:44:35 +10:00
image: peaceiris/mdbook:v0.4.30-rust
2022-10-19 01:00:37 +10:00
# stdin_open: true
# tty: true
2022-10-19 00:48:32 +10:00
ports:
2023-06-11 16:56:56 +10:00
- 3100:3000
- 3101:3001
2022-10-19 00:48:32 +10:00
volumes:
- ./book:/book
command:
2023-06-11 16:53:07 +10:00
# - init
2022-10-19 01:00:37 +10:00
# - echo "y"
2023-06-11 16:53:07 +10:00
- serve
- --hostname
- '0.0.0.0'