Skip to content

Commit c838baa

Browse files
committed
config bugs
1 parent 0a22cea commit c838baa

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

tools/reverse-proxy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ COPY default.conf /etc/nginx/conf.d/default.conf
99
# Create directory for static files (optional)
1010
RUN mkdir -p /usr/share/nginx/html
1111

12-
EXPOSE 3001
12+
EXPOSE 80
1313

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

tools/reverse-proxy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

tools/reverse-proxy/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
server {
2-
listen 3001;
2+
listen 80;
33
server_name localhost;
44

55
# Basic reverse proxy configuration

0 commit comments

Comments
 (0)