Deploy Web App with Docker, Nginx and SSL (HTTPS)

preview_player
Показать описание
Deploy Web App with Docker, Nginx and SSL
Рекомендации по теме
Комментарии
Автор

Man, you did my day! Thank you. Finally someone explained getting ssl certificate details in very clear way for beginners.

Really useful tutorial about setup nginx, ssl, https with docker

parnasmi
Автор

Thank you very much, you have saved my day from struggling with this situation. Hope your channel will grow up soon.

cuongchung
Автор

Great Work! Great Explanation! 5 of 5 Star rating 👍

larswo
Автор

This was very interesting! I’d like to create a Docker image that is ready to go without doing anything manual on it once deployed.

How would you do something like that?

EugenioCarocci
Автор

im looking for a method to control the front end cache somehow to force it for redownload after i publish a new version of my files.
for example not only staticfiles css js also having html view files that should be re-downloaded.
any help is welcome :)

yakuparslan
Автор

thank you so much guy, very very much

MinhNhat-pkus
Автор

u did it manually. I thought it would be automated

trueleowdeo
Автор

everyone can config dockerfile

FROM node:14-stretch-slim as build
WORKDIR /app
COPY . /app
RUN npm install && npm run build

FROM ubuntu:18.04

RUN apt update -y \
&& apt install nginx -y \
&& apt-get install software-properties-common -y \
&& add-apt-repository ppa:certbot/certbot -y \
&& apt-get update -y \
&& apt-get install python-certbot-nginx -y \
&& apt-get clean

COPY --from=build /app/build /usr/share/nginx/html
EXPOSE 80

STOPSIGNAL SIGTERM

CMD ["nginx", "-g", "daemon off;"]

=> we not build and push to server we use docker to build app
- And in docker docker-compose.yml remove volumes line - ./build:/usr/share/nginx/html
-> it useful better

MinhNhat-pkus