部署
version: "3.4"services:mongo:image: mongocontainer_name: twake-dbvolumes:- /opt/Twake/data:/data/dbnode:image: twaketech/twake-node:latestcontainer_name: twake-webports:- 3345:3000# - 8000:3000environment:- DEV=production- SEARCH_DRIVER=mongodb- DB_DRIVER=mongodb- PUBSUB_TYPE=localvolumes:# - ./production.json:/usr/src/app/config/production.json- /opt/Twake/storage/:/storage/depends_on:- mongolinks:- mongo
使用
浏览器打开
输入http://192.168.168.111:3345/
1首页
2.注册
注册后进入