Files
homeschool/docker-compose.yml
Nate EmmertandClaude Sonnet 4.6 ca68e9df52 Switch data volume from bind mount to named Docker volume
Bind mount (./data:/app/data) was relative to the working directory,
so data was lost whenever the project was re-cloned or compose was run
from a different path. A named volume is managed by Docker and persists
across container rebuilds and image pulls.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 20:20:01 -04:00

13 lines
229 B
YAML

services:
spelling:
image: ghcr.io/nmemmert/spelling:latest
container_name: spelling-v2
ports:
- "3000:3000"
volumes:
- spelling-data:/app/data
restart: unless-stopped
volumes:
spelling-data: