File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services:
55 context : tools/reverse-proxy
66 dockerfile : Dockerfile
77 ports :
8- - " 3001:3001 "
8+ - " 80:80 "
99 container_name : reverse-proxy
1010
1111 # javascript sdk integrations
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ COPY default.conf /etc/nginx/conf.d/default.conf
99# Create directory for static files (optional)
1010RUN mkdir -p /usr/share/nginx/html
1111
12- EXPOSE 3001
12+ EXPOSE 80
1313
1414CMD ["nginx" , "-g" , "daemon off;" ]
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ docker build -t nginx-reverse-proxy .
1111
1212### Run the container
1313``` bash
14- docker run -d -p 3001:3001 --name nginx-proxy nginx-reverse-proxy
14+ docker run -d -p 80:80 --name nginx-proxy nginx-reverse-proxy
1515```
1616
1717### Run with custom static files
1818``` bash
19- docker run -d -p 3001:3001 -v /path/to/your/html:/usr/share/nginx/html --name nginx-proxy nginx-reverse-proxy
19+ docker run -d -p 80:80 -v /path/to/your/html:/usr/share/nginx/html --name nginx-proxy nginx-reverse-proxy
2020```
2121
2222## Configuration
Original file line number Diff line number Diff line change 11server {
2- listen 3001 ;
2+ listen 80 ;
33 server_name localhost;
44
55 # Basic reverse proxy configuration
You can’t perform that action at this time.
0 commit comments