Fiora 是一款开源免费的在线聊天系统
https://github.com/yinxin630/fiora
部署
创建docker网络
docker network create fiora-network
docker-compose部署
vim docker-compose.yml
version: '3'
services:fiora_redis:image: rediscontainer_name: fiora_redisrestart: alwayshealthcheck:test: redis-cli -h 127.0.0.1 ping interval: 30stimeout: 10sretries: 3networks:- fiora-networkfiora_db:image: mongocontainer_name: fiora_dbrestart: alwayshealthcheck:test: mongo --eval 'db.runCommand("ping").ok' localhost:27017 --quiet interval: 30stimeout: 10sretries: 3networks:- fiora-networkfiora:image: suisuijiang/fioracontainer_name: fiorarestart: alwaysdepends_on:- "fiora_redis"- "fiora_db"ports:- 9200:9200environment:- Database=mongodb://fiora_db:27017/fiora- RedisHost=fiora_redisnetworks:- fiora-networknetworks:fiora-network:external: true
部署
docker-compose up -d
访问
http://x.x.x.x:9200