dream-num / luckysheetserverstarter Goto Github PK
View Code? Open in Web Editor NEWLuckysheetServer docker deployment startup template
License: Apache License 2.0
LuckysheetServer docker deployment startup template
License: Apache License 2.0
由于本机 80端口冲突。将docker-compose.yml 文件中的端口改为8088
nginx:
image: nginx:latest
#restart: always
container_name: nginx
environment:
- TZ=Asia/Shanghai
ports:
- "8088:80"
加载首页 http://tx-sh2:8088 时候报:
http://tx-sh2:8088/luckysheet/api/load
Failed to load resource: the server responded with a status of 404 (Not Found) 错误。
请问该如何修改配置文件
From the background, you can see that mongodb connection error is reported. Check the code to see that file storage is used instead of mongo. It takes about a minute to start, and it crashes in about 10 minutes.
查看server的报错
com.mongodb.MongoSocketOpenException: Exception opening socket
at com.mongodb.connection.SocketStream.open(SocketStream.java:62)
at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:126)
at com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:114)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at com.mongodb.connection.SocketStreamHelper.initialize(SocketStreamHelper.java:59)
at com.mongodb.connection.SocketStream.open(SocketStream.java:57)
... 3 common frames omitted
ExecutionException: MISCONF Redis is configured to save RDB snapshots..........
2021-03-26 04:16:38.894 INFO 1 --- [nio-9004-exec-3] c.x.l.r.GridFileRedisCacheService : raddFlagContent---redisKey=lk:upflag:1079500#-8803#7c45f52b7d01486d88bc53cb17dcd2c31val=true
2021-03-26 04:16:38.899 INFO 1 --- [nio-9004-exec-3] c.x.l.p.s.PostgresGridFileGetService : getDefaultByGridKey--dbObjectList:start
2021-03-26 04:16:38.900 INFO 1 --- [nio-9004-exec-3] c.x.l.p.s.PostgresGridFileGetService : getDefaultByGridKey--start---dbObject
2021-03-26 04:16:38.905 INFO 1 --- [nio-9004-exec-3] c.x.l.p.s.PostgresGridFileGetService : dbObject:true
2021-03-26 04:16:38.908 INFO 1 --- [nio-9004-exec-3] c.x.l.controller.JfGridFileController : load
2021-03-26 04:16:38.909 INFO 1 --- [nio-9004-exec-3] e.InterfaceRequestErrorAndPerformanceLog : 耗时:18(毫秒).
如题,隔一段时间再打开数据全没了,变成初始化的样子,redis正常,postgres里面能看到数据,无报错。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.