Skip to content
This repository was archived by the owner on Nov 2, 2021. It is now read-only.

About

Docker image for mapgen frontend / worker

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

Repository files navigation

ARCHIVED: Merged into mapgen

Docker

XCSoar's Mapgen in containerized Form

This repository contains DockerCompose and Dockerfiles for building a containerized version of mapgen.

Frontend

The frontend container contains the cherrypy based service and an nginx based reverse proxy for exposing the mapgen on port 9090 Both processes in the frontend container are started by supervisord.

Frontend produces job files that are put into a shared volume /opt/mapgen/jobs/.queued

Worker

This is the actual map builder, that takes the queued jobs in /opt/mapgen/jobs/jobid and starts processing all the *.queued jobs.

Volumes

These are named volumes inside your docker service.

/opt/mapgen/jobs: This is the job directory where all jobs get stored

/opt/mapgen/data: This directory caches all the data from the data repository. WARNING: This volume can take up a lot of space (100GB).

Ports

Port 9090

Build Variables

The Following build variables can be set during build (optional):

  1. GITURL - The git url where the mapgen sources are from (https://github.com/xcsoar/mapgen/mapgen.git)
  2. GITBRANCH - The branch where to pull from (default:master)

Building

in the current directory:

docker-compose build

or with options:

docker-compose build --build-arg=GITURL=https://github.com/myuser/mapgen/mapgen.git --build-arg=GITBRANCH=myfeature

Starting

docker-compose up -d 

About

Docker image for mapgen frontend / worker

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

Contributors

Languages