Skip to content

OpenSeaMap/alpha-seamark-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is the image we're using for our tile server at http://t1.openseamap.org. It is based on phusion/baseimage-docker. The Dockerfile is based on raumzeitlabor/mediawiki-docker.

The image serves tiles from the /data volume. In case a file is not found /data/empty.png is returned.

build image

docker-compose build

push image to github package registry

login to github

CR_PAT=<TOKEN>
USERNAME=<USERNAME>
echo $CR_PAT | docker login ghcr.io -u $USERNAME --password-stdin

tag image

docker tag seamark ghcr.io/openseamap/seamark:latest

push image to github

docker push ghcr.io/openseamap/seamark:latest

Setup

To set up this container, simply copy the startup script and docker compose file to host.

sudo cp tiles.service /etc/systemd/system/multi-user.target.wants/[email protected]
sudo cp docker-compose.yml /etc/docker/compose/seamark/docker-compose.yml

run sudo systemctl daemon-reload, followed by sudo systemctl start [email protected].

The service file mounts /var/data/tiles as /data inside the container.

About

webserver for seamark tiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%