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: - init # - echo "y" #- serve #- --hostname #- '0.0.0.0'