Files
Dash/docker-compose.yml
T
Tomas DvorakandDevin a94ae1889a feat(infra): add CasaOS compose with persistent /DATA bind
CasaOS copies imported compose files to /tmp/casaos-compose-app-* and
runs them from there, so the repo compose's relative ./data bind fails
at install ("bind source path does not exist") and would be wiped on
reboot. infra/compose.casaos.yaml mounts /DATA/AppData/dash instead and
carries x-casaos metadata for the app tile.

Authored By: TDvorak <[email protected]>

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-03 10:21:18 +02:00

16 lines
517 B
YAML

services:
dash:
# Prebuilt release image — `docker compose pull && docker compose up -d`.
# To build from source instead: `docker compose up -d --build`.
image: ghcr.io/dvorinka/dash:latest
build:
context: .
dockerfile: infra/Dockerfile
ports:
- "3000:3000"
volumes:
# CasaOS: use infra/compose.casaos.yaml — CasaOS runs compose from /tmp,
# so this relative path fails there and would not survive a reboot.
- ./data:/data
restart: unless-stopped