danwahlin / angular-core-concepts Goto Github PK
View Code? Open in Web Editor NEWProvides a simple demo application covering Angular core concepts (components, services, modules, routing)
Provides a simple demo application covering Angular core concepts (components, services, modules, routing)
I came here because of your awsome video tutorial on CloudSkills.io. Today I cloned this repo on my Windows machine. I saw that cadvisor had been disabled, because it is linux only. I can spin up with docker compose, but I get an authorisation issue. This is what I do:
D:\git\Angular-Core-Concepts>docker-compose up -d
Creating network "angular-core-concepts_app-network" with driver "bridge"
Creating angular-node-service ... done Creating nginx-angular ... done
D:\git\Angular-Core-Concepts>docker-compose logs -f
Attaching to nginx-angular, angular-node-service
angular-node-service | Express listening on port 3000.
nginx-angular | 2020/04/11 12:20:11 [error] 6#6: *1 directory index of "/usr/share/nginx/html/" is forbidden, client: 172.26.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
nginx-angular | 172.26.0.1 - - [11/Apr/2020:12:20:11 +0000] "GET / HTTP/1.1" 403 555 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" "-"
The version I use has sha 8ea2566.
I didn't expect this error. /usr/share/nginx/html
is the directory inside of the nginx container.
Any idea what could be going on?
Thank you for this repo. It has helped me a lot with learning Docker, and by watching your great courses on Pluralsight.
After running the docker-compose
, everything works great on my Host laptop (Windows 10), however when I browse to the same app from another laptop (Mac) that I have at home (both running in my home network), the Angular
and Nginx
works fine, but the Angular
cannot connect to Node api
container. I get ERR_CONNECTION-REFUSED error as show below.
Have you seen this type of error before?
Thank you
I'm having problems when I try to run this command on Mac $ docker-compose -f docker-compose.prod.yml build
.
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-10-24T16_09_20_853Z-debug.log
executor failed running [/bin/sh -c npm install]: exit code: 1
ERROR: Service 'nginx' failed to build : Build failed
And when I run command $ docker-compose -f docker-compose.prod.yml up
this interface is shown.
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.