Git Product home page Git Product logo

docker-cezerin's People

Contributors

restmount avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-cezerin's Issues

Failed connecting to MongoDB

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]

/var/www is empty

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.

generate access tokens

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.