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
Use docker-compose via make to start the application, migrate the database, and ingest some example data:
70
+
67
71
```bash
68
72
make image
69
73
make docker-run-all
@@ -84,7 +88,23 @@ The application will be started on <http://localhost:8080>.
84
88
By default, the apps are run with uvicorn hot-reloading enabled. This can be turned off by changing the value
85
89
of the `RELOAD` env var in docker-compose.yml to `false`.
86
90
87
-
#### Note to Docker for Windows users
91
+
### nginx proxy
92
+
93
+
This repo includes an example nginx proxy service.
94
+
To start:
95
+
96
+
```shell
97
+
make docker-run-nginx-proxy
98
+
```
99
+
100
+
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/>.
101
+
If you need to customize the proxy port, use the `STAC_FASTAPI_NGINX_PORT` environment variable:
102
+
103
+
```shell
104
+
STAC_FASTAPI_NGINX_PORT=7822 make docker-run-nginx-proxy
105
+
```
106
+
107
+
### Note to Docker for Windows users
88
108
89
109
You'll need to enable experimental features on Docker for Windows in order to run the docker-compose,
90
110
due to the "--platform" flag that is required to allow the project to run on some Apple architectures.
0 commit comments