You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<palign="center">FastAPI implemention of the STAC API spec.</p>
@@ -101,7 +103,23 @@ The application will be started on <http://localhost:8080>.
101
103
By default, the apps are run with uvicorn hot-reloading enabled. This can be turned off by changing the value
102
104
of the `RELOAD` env var in docker-compose.yml to `false`.
103
105
104
-
#### Note to Docker for Windows users
106
+
### nginx proxy
107
+
108
+
This repo includes an example nginx proxy service.
109
+
To start:
110
+
111
+
```shell
112
+
make docker-run-nginx-proxy
113
+
```
114
+
115
+
The proxy will be started on <http://localhost>, with the pgstac app available at <http://localhost/api/v1/pgstac/> and the sqlalchemy app at <http://localhost/api/v1/sqlalchemy/>.
116
+
If you need to customize the proxy port, use the `STAC_FASTAPI_NGINX_PORT` environment variable:
117
+
118
+
```shell
119
+
STAC_FASTAPI_NGINX_PORT=7822 make docker-run-nginx-proxy
120
+
```
121
+
122
+
### Note to Docker for Windows users
105
123
106
124
You'll need to enable experimental features on Docker for Windows in order to run the docker-compose,
107
125
due to the "--platform" flag that is required to allow the project to run on some Apple architectures.
0 commit comments