# 自建fiora聊天服务器

**直接从 DockerHub 镜像运行**

```docker
# 创建虚拟网络
docker network create fiora-network
# 启动 mongodB
docker run --name fioradb -p 27017:27017 --network fiora-network mongo &
# 启动 redis
docker run --name fioraredis -p 6379:6379 --network fiora-network redis &
# 启动 fiora
docker run --name fiora -p 9200:9200 --network fiora-network -e Database=mongodb://fioradb:27017/fiora -e RedisHost=fioraredis suisuijiang/fiora &
```

### [http://127.0.0.1:9200](#undefined)

![](https://3504178614-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9pUnnHKrKhH99NhIo8OF%2Fuploads%2F4zcHjF8ob1lPHmp0TBB0%2Fimage.png?alt=media\&token=33cf8f84-3662-43a6-8279-53bf837aa010)

<br>
