william

Keep Calm and Markdown.

docker 安装 gitbook

docker-compose

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
version: "3"
services:
  gitbook:
    hostname: gitbook
    container_name: gitbook
    image: fellah/gitbook
    pull_policy: always
    restart: always
    privileged: true
    tty: true
    volumes:
      - /data/gitbook:/srv/gitbook
      - /etc/localtime:/etc/localtime
    ports:
      - 4000:4000
    command:
      - /bin/bash
      - -c
      - |
        /bin/bash
0%