mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
add mongodb-angular-expressjs-nodejs docker sample
Signed-off-by: Sohaib Manah <souhaibemanah@gmail.com>
This commit is contained in:
parent
e6b1d2755f
commit
c5c2efb203
62 changed files with 12812 additions and 0 deletions
3
mongodb-angular-expressjs-nodejs/nginx/Dockerfile
Normal file
3
mongodb-angular-expressjs-nodejs/nginx/Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM nginx:1.21.6
|
||||
RUN rm /etc/nginx/conf.d/default.conf
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
11
mongodb-angular-expressjs-nodejs/nginx/nginx.conf
Normal file
11
mongodb-angular-expressjs-nodejs/nginx/nginx.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
location / {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade websocket;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_pass http://backend:5000;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue