Coder Social home page Coder Social logo

docker-compose up about angular2-flask HOT 7 CLOSED

ansrivas avatar ansrivas commented on June 3, 2024
docker-compose up

from angular2-flask.

Comments (7)

mkscala avatar mkscala commented on June 3, 2024

log in docker-container server
/foo/log_output $ more web.log
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'bcrypt' handler: <class 'passlib.handlers.bcrypt.bcrypt'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'des_crypt' handler: <class 'passlib.handlers.des_crypt.des_crypt'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'pbkdf2_sha256' handler: <class 'passlib.handlers.pbkdf2.pbkdf2_sha256'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'pbkdf2_sha512' handler: <class 'passlib.handlers.pbkdf2.pbkdf2_sha512'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'sha256_crypt' handler: <class 'passlib.handlers.sha2_crypt.sha256_crypt'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'sha512_crypt' handler: <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'plaintext' handler: <class 'passlib.handlers.misc.plaintext'>

from angular2-flask.

ansrivas avatar ansrivas commented on June 3, 2024

This error generally arrives when the server fails to start. But as you posted the logs are being generated.

Can you try these commands:
docker rm -f angular2-app server
and then:
docker rmi -f backend/python frontend/angular2
and then again:
docker-compose up

from angular2-flask.

mkscala avatar mkscala commented on June 3, 2024

Attaching to server, angular2-app
angular2-app |
angular2-app | > [email protected] server:prod /front
angular2-app | > http-server dist --cors
angular2-app |
angular2-app | Starting up http-server, serving dist
angular2-app | Available on:
angular2-app | http://127.0.0.1:8080
angular2-app | http://172.24.0.3:8080
angular2-app | Hit CTRL-C to stop the server

This the output i get. I don't see the server when i exe docker-compose up

from angular2-flask.

mkscala avatar mkscala commented on June 3, 2024

angular2-app | http://172.24.0.3:8080
angular2-app | Hit CTRL-C to stop the server
angular2-app | [Mon Aug 29 2016 23:57:43 GMT+0000 (UTC)] "GET /" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:57:43 GMT+0000 (UTC)] "GET /assets/css/font-awesome.min.css" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:57:43 GMT+0000 (UTC)] "GET /polyfills.535f8fdcc5aaa05a75ac.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:57:43 GMT+0000 (UTC)] "GET /main.e046faa95ba926b46b70.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:57:43 GMT+0000 (UTC)] "GET /vendor.41b53236352eafe00ae9.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:57:44 GMT+0000 (UTC)] "GET /assets/img/angularclass-logo.png" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:40 GMT+0000 (UTC)] "GET /" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:40 GMT+0000 (UTC)] "GET /assets/css/font-awesome.min.css" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:40 GMT+0000 (UTC)] "GET /polyfills.535f8fdcc5aaa05a75ac.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:40 GMT+0000 (UTC)] "GET /vendor.41b53236352eafe00ae9.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:40 GMT+0000 (UTC)] "GET /main.e046faa95ba926b46b70.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:41 GMT+0000 (UTC)] "GET /assets/img/angularclass-logo.png" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"

I still get the error "wrong password entered"

from angular2-flask.

mkscala avatar mkscala commented on June 3, 2024

$docker logs server, I don't see any logs

from angular2-flask.

ansrivas avatar ansrivas commented on June 3, 2024

Yes, actually I am not redirecting the logs to stdout.
Another thing you can try is to check if both frontend+backend dockers are running
docker ps
And lastly you can check if none of the ports are conflicting, i.e. 8080, 8081 is exposed on the host machine.

from angular2-flask.

ansrivas avatar ansrivas commented on June 3, 2024

fixed in 25fdc9c

from angular2-flask.

Related Issues (20)

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.