File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ The following docker-compose commands build small client and server images targe
2012013. Run the image.
202202 ```
203203 docker run -it --rm \
204- --env-file .env
204+ --env-file .env \
205205 -p 3001:3001 \
206206 ciatphdev/firebase-users-admin-server: v1 .1.1
207207 ```
Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ server {
6262 gzip_types text/plain application/javascript text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype;
6363
6464 # Reverse proxy to the client website
65- # Requires the client service running on http://localhost :3000 (from a container or manually installed on host)
65+ # Requires the client service running on http://<MACHINE_PRIVATE_IP> :3000 (from a container or manually installed on host)
6666 location / {
67- proxy_pass http://localhost :3000;
67+ proxy_pass http://<MACHINE_PRIVATE_IP> :3000;
6868 proxy_set_header Host $host;
6969 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
7070 proxy_set_header X-Forwarded-Proto $scheme;
@@ -79,9 +79,9 @@ server {
7979 }
8080
8181 # Reverse proxy to the backend API server
82- # Requires the backend service running on http://localhost :3001 (from a container or manually installed on host)
82+ # Requires the backend service running on http://<MACHINE_PRIVATE_IP> :3001 (from a container or manually installed on host)
8383 location /api {
84- proxy_pass http://localhost :3001;
84+ proxy_pass http://<MACHINE_PRIVATE_IP> :3001;
8585 proxy_set_header Host $host;
8686 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
8787 proxy_set_header X-Forwarded-Proto $scheme;
You can’t perform that action at this time.
0 commit comments