Files
bible/compose.yaml
T
2026-09-03 17:24:22 -04:00

18 lines
615 B
YAML

services:
bible:
build: .
image: bible-offline
container_name: bible
ports:
# Host port is overridable: BIBLE_PORT=9000 docker compose up -d
- "${BIBLE_PORT:-8085}:8080"
volumes:
# Live edits without rebuilding. server.py is mounted too: leaving it
# baked into the image is how an old copy of it once kept running for
# days after the file on disk had changed. Drop these lines to serve the
# copy baked into the image instead.
- ./server.py:/srv/server.py:ro
- ./assets:/srv/assets:ro
- ./books:/srv/books:ro
restart: unless-stopped