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
cd /app
./cloudreve --database-script ResetAdminPassword