docker-compose.yml
---
version: "2.1"
services:
mdbook:
container_name: mdbook
image: peaceiris/mdbook
stdin_open: true
tty: true
ports:
- 3000:3000
- 3001:3001
volumes:
- ./book:/book
command:
- serve
- --hostname
- '0.0.0.0'
code-server:
image: linuxserver/code-server
container_name: coder
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Toyo
- PASSWORD=ubuntu #optional
- SUDO_PASSWORD=ubuntu #optional
volumes:
- ./code-server:/config
- ./book/src:/config/workspace/book
ports:
- 8443:8443
restart: unless-stopped
no plan to support searching in other languages.