我无法使用mup
部署流星,我得到以下错误
指出
- 我的应用程序名称是
malfintech
- 服务器:ubuntu (on premis)
信息:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Started TaskList: Start Meteor
[10.1.140.30] - Start Meteor
[10.1.140.30] x Start Meteor: FAILED
------------------------------------STDERR------------------------------------
Error: No such image: mup-malfintech:latest
Error: No such image: mup-malfintech:latest
Error: No such image: mup-malfintech:previous
Error: No such image: mup-malfintech:previous
Error: No such image: mup-malfintech:latest
Removing docker containers. Errors about nonexistent endpoints and containers are normal.
Error: No such container: malfintech
Error response from daemon: endpoint malfintech not found
Error: No such container: malfintech-frontend
Error response from daemon: endpoint malfintech-frontend not found
Error: No such container: malfintech-nginx-letsencrypt
Error response from daemon: endpoint malfintech-nginx-letsencrypt not found
Error: No such container: malfintech-nginx-proxy
Error response from daemon: endpoint malfintech-nginx-proxy not found
Finished removing docker containers
invalid reference format
docker: open /opt/malfintech/config/env.list: no such file or directory.
See 'docker run --help'.
这是我的mup.js
配置:
module.exports = {
servers: {
one: {
host: '***',
username: 'dev',
password: '*****'
}
},
app: {
name: 'malfintech',
path: '../',
type: 'meteor',
docker: {
image: './docker',
},
buildOptions: {
serverOnly: true,
buildLocation: '/tmp',
},
servers: {
one: {},
},
env: {
"WEB_URL": "https://malfintech.com",
"ROOT_URL": "https://api.malfintech.com",
"MONGO_URL": "mongodb://*****/***"
},
enableUploadProgressBar: true
},
};
./docker
具有现代/流星图像的副本,仅将USER
从app
更改为dev
(无论何处适用)
乐意提供任何有助于解决vodo
的信息
哦,等等,如果您的服务器是本地的,并且已经运行docker,那么您可能会遇到麻烦。现有服务器上的库有各种各样的依赖关系。
我发现mup真的更喜欢一个没有任何东西的"原始"ubuntu安装。
原因是它可以按照自己喜欢的方式设置docker。你最终也会获得更流畅的体验。
我会尝试使用新的droplet或ec2服务器来尝试。