cezerin / docker-cezerin Goto Github PK
View Code? Open in Web Editor NEWDocker image for Cezerin
License: MIT License
Docker image for Cezerin
License: MIT License
Use Caddy replace Nginx , will be better?
I tried running cezerin on docker but it failed with the following error log:
pm2 launched in no-daemon mode (you can add DEBUG="*" env variable to get more messages)
[2018-04-17 18:38:16] PM2 log: Launching in no daemon mode
[2018-04-17 18:38:16] PM2 error: [PM2][ERROR] File process.json not found
[2018-04-17 18:38:16] PM2 log: ┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────┴──────────┘
[2018-04-17 18:38:16] PM2 log: Use `pm2 show <id|name>` to get more details about an app
[2018-04-17 18:38:16] PM2 log: [--no-daemon] Continue to stream logs
[2018-04-17 18:38:16] PM2 log: [--no-daemon] Exit on target PM2 exit pid=1
I looked into the container and found that /var/www
is empty while as per Dockerfile
it should be populated with released source code.
I believe this is because of volume mount on /var/www
in docker-compose.yml
. The directory on host machine is empty, mounting with that directory also makes the directory on container empty.
Please don't leave cezerin neglected.
wget -O cezerin.zip https://github.com/cezerin/cezerin/archive/v$CEZERIN_VERSION.zip
someone know how load data example and admin credential info into the container?
thanks in advance,
if run the master container get this error:
I think is for no initialization of mongoDB
#3
2017-11-14 01:54:40: ┌──────────┬────┬─────────┬─────┬────────┬─────────┬────────┬─────┬───────────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
├──────────┼────┼─────────┼─────┼────────┼─────────┼────────┼─────┼───────────┼──────┼──────────┤
│ cezerin │ 0 │ cluster │ 35 │ online │ 1 │ 0s │ 49% │ 37.8 MB │ root │ enabled │
│ cezerin │ 1 │ cluster │ 22 │ online │ 0 │ 0s │ 67% │ 38.6 MB │ root │ enabled │
│ cezerin │ 2 │ cluster │ 29 │ online │ 0 │ 0s │ 85% │ 37.7 MB │ root │ enabled │
│ cezerin │ 3 │ cluster │ 45 │ online │ 0 │ 0s │ 43% │ 28.6 MB │ root │ enabled │
└──────────┴────┴─────────┴─────┴────────┴─────────┴────────┴─────┴───────────┴──────┴──────────┘
2017-11-14 01:54:40: Use `pm2 show <id|name>` to get more details about an app
2017-11-14 01:54:40: [--no-daemon] Continue to stream logs
2017-11-14 01:54:40: [--no-daemon] Exit on target PM2 exit pid=1
01:54:41 2|cezerin | info: Server start at http://:::3000
01:54:41 0|cezerin | info: Server start at http://:::3000
01:54:41 2|cezerin | error: Failed connecting to MongoDB failed to connect to server [127.0.0.1:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]
01:54:41 0|cezerin | error: Failed connecting to MongoDB failed to connect to server [127.0.0.1:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]
01:54:42 1|cezerin | info: Server start at http://:::3000
01:54:42 1|cezerin | error: Failed connecting to MongoDB failed to connect to server [127.0.0.1:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]
01:54:42 3|cezerin | info: Server start at http://:::3000
01:54:42 3|cezerin | error: Failed connecting to MongoDB failed to connect to server [127.0.0.1:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]
Hi, for make my own container I need add it in Dockerfile v0.27.0
RUN ["chmod", "+x", "/usr/local/bin/docker-entrypoint.sh"]
Regards,
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.