This is intended to be a starting point for work on a container, and a reference environment for development of cross-container features.
It contains a Kafka subsystem, nginx front end, and various storage layers. It also contains a hodgepodge of custom libraries and applications.
From the base directory, run
docker compose up -d
Check that the web front-end is running at http://localhost:8080/
See Installation for more. See Notes for MacOS for MacOS variations.
NOTE -- this is not really worked-out yet. Ultimately whatever is convenient for developers should be the usage guidelines.
This project is intended to help a developer build a Dockerizable feature -- code and configuration for a Docker image -- which interoperates with the major platform features of the Earthscope architecture.
To develop "inline", create (or link) a subpath in this project containing a Dockerfile
defining your image, and add it as a service in docker-compose.yml
using the build
option:
eg. create:
simple-project/
my_feature/
Dockerfile
and add to the docker-compose.yml
like:
services:
my_feature:
build: my_feature
See the Django subdirectory for an example.
A minimal Confluent Kafka stack (broker
, zookeeper
, and schema-registry
).
The [avro_schemas] subpath is mounted as /avro_schemas
-- containers should use that.
An nginx
server intended to operate as a proxy for other web-facing containers.
For basic web applications.
Postgres