Skip to content

compose file for docker and podman to run a local version of XYZ maps hub, build container images and deployment orchestration

Notifications You must be signed in to change notification settings

xyzmaps/xyz-containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XYZ maps - containers

Deploying

Checkout the repo or just download or copy&paste the compose.yml file to deploy a simple XYZ maps setup including the hub service, the backend postgres database, redis caching and swagger ui for access to the REST service interface.

The postgres data is persisted locally in a newly created directory called data even if the stack is pulled down completely (normally just starting/stopping the stack should be enough).

Images

Container images for arm64 and amd64 are on Docker Hub if you would just like to run it.

Run using docker

In the directory where compose.yml is located run

docker compose up -d

Run using podman

In the directory where compose.yml is located run

compose up -d

Try it

Once the stack is up, the following URLs should work:

Documentation: http://localhost:9000/

REST service: http://localhost:8080/hub

Swagger UI: http://localhost:8888/

Redoc UI: http://localhost:8889/

Documentation (WIP)

More information and documentation

https://xyzmaps.github.io/xyz-documentation/

Build it

The Makefile is available for building locally if needed. It uses the Dockerfiles in their respective directories.

xyz-hub/Dockerfile uses a builder pattern that uses a build-stage to check out and build the xyzmaps/xyz-hub project using maven. Only the resulting artifact is the used in the deployment image, so that there is no need to run the maven build locally.

About

compose file for docker and podman to run a local version of XYZ maps hub, build container images and deployment orchestration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published