关于 EasyClub
部署
安装 Redis
docker run -itd --net=host --name=redis redis:4.0.9-alpine
安装 Mongo
docker run -itd --net=host --name=mongo mongo:rc-xenial
安装 easyclub
docker run -itd --net=host --name=bbs -v /etc/localtime:/etc/localtime:ro actable/easyclub supervisord -n
Dockerfile
似乎不行
version: '2'
services:
redis:
image: redis:4.0.9-alpine
volumes:
- /var/lib/redisdata:/data
- /var/log/redis:/var/log/redis
network_mode: "host"
mongo:
image: mongo:rc-xenial
volumes:
- "/var/lib/mongodata:/data"
- /var/log/mongolog:/var/log/mongo
network_mode: "host"
easyclub:
network_mode: "host"
image: actanble/easybbs
command: ["supervisord", "-n"]
container_name: bbs
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/log/easyhub:/var/log/
volumes:
结果截图