This container proxies to the catalog-app (app) and pycsw. The container can't run on its own because the backing service containers need to be running. For development and testing, we create a backend container that returns some simple data.
Add this to your docker-compose:
services:
nginx:
environment:
APP_HOST: app
APP_PORT: <app-port>
PYCSW_HOST: pycws
PYCSW_PORT: <pycws-port>
depends_on:
- app
- pycsw
Build the container.
$ make build
Start the container. Note: nginx doesn't produce any output on startup.
$ make up
Run the tests.
$ make test
Open a shell in the nginx container for debugging.
$ docker-compose exec nginx bash
Stop the containers and cleanup their volumes.
$ make clean
Content type
Image
Digest
Size
54.6 MB
Last updated
about 8 years ago
docker pull datagov/catalog-nginx