创建simplemind目录
mkdir -p simplemind
cd simplemind
创建docker-compoose.yml
nano docker-compose.yml
services:
simplemind:
container_name: simplemind
ports:
- '9080:80'
environment:
- PUID=0
- PGID=0
- TZ=Asia/Shanghai
restart: always
volumes:
- './html:/usr/share/nginx/html'
image: gindex/nginx-php
ctrl+x y 保存退出
拉取Github项目
git clone https://github.com/wanglin2/mind-map && mv mind-map html
运行docker-compose
docker-compose up -d
通过web访问
http://you_server_ip:9080
评论区