Massprice/docker-compose.yml
Barely Removable cb027167a7
Some checks failed
Deploy / deploy (push) Failing after 23s
Change default HOST_PORT to 5057 — 5056 is actually taken by arr-summary
arr-summary's own docs say 5055, but it's really deployed on 5056
(confirmed via docker ps on the Unraid box), which collided with
massprice's original default.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H6TgffxTvYhqxykAbVQg2v
2026-08-31 18:52:54 -07:00

21 lines
757 B
YAML

services:
massprice:
build: .
container_name: massprice
# Headless Chromium's default /dev/shm (64MB) is too small in Docker
# and causes renderer crashes — this is the standard mitigation.
shm_size: "1gb"
ports:
- "${HOST_PORT:-5057}:5000"
volumes:
# Schedules, run history, the rule-name cache, and the saved
# MassPrice login session must outlive `up -d --build`, which
# recreates the container and discards its filesystem.
- ./data:/data
environment:
- LOGIN_PASSWORD=${LOGIN_PASSWORD}
- SECRET_KEY=${SECRET_KEY}
- MASSPRICE_USERNAME=${MASSPRICE_USERNAME}
- MASSPRICE_PASSWORD=${MASSPRICE_PASSWORD}
- TZ=${TZ:-America/New_York}
restart: unless-stopped