代码拉取完成,页面将自动刷新
redis:
image: redis
db:
image: mariadb:5.5
environment:
"MYSQL_ROOT_PASSWORD": "root"
"MYSQL_DATABASE": "nodewk"
command: "mysqld --character-set-server=utf8"
ports:
- "127.0.0.1:3306:3306"
volumes:
- "/node/nodewk/db:/var/lib/mysql"
web:
image: wizzer/nodewk
links:
- redis
- db
environment:
"MYSQL_HOST": "db"
"MYSQL_USER": "root"
"MYSQL_PASSWORD": "root"
"MYSQL_DATABASE": "nodewk"
"MYSQL_LIMIT": 150
"REDIS_HOST": "redis"
"REDIS_PASS": ""
"LOG_LEVEL": "verbose"
"LOG_SQL": "false"
"PORT": 1337
"NODE_ENV": "production"
command: "pm2 start /node/nodewk/app.js --no-daemon"
ports:
- "1337:1337"
volumes:
- "/node/nodewk/cert:/node/nodewk/cert"
- "/node/nodewk/upload:/node/nodewk/upload"
- "/node/nodewk/backup:/node/nodewk/backup"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。