Files
maptool/docker-compose.yaml
T
randy 3a79c3d6c1
CI / check (push) Successful in 5m47s
CI / deploy (push) Failing after 1s
Add Docker deployment via Gitea Actions host-mode runner
Containerize the app (Dockerfile, docker-compose.yaml) and add a CI
deploy job that syncs the checkout to /srv/docker/maptool and runs
docker compose directly, using the runner's new "host" execution
label to reach the host's Docker daemon and filesystem.
2026-08-27 14:54:21 +02:00

16 lines
424 B
YAML

services:
maptool:
build: .
restart: unless-stopped
ports:
- "4567:4567"
environment:
BIND_HOST: 0.0.0.0
RACK_ENV: production
volumes:
# Uploaded GPX files and the offline PMTiles extract — kept outside
# the image so a rebuild/redeploy doesn't wipe them (see
# docs/development.adoc for how the deploy job treats this
# directory).
- ./data:/app/data