mirror of
https://github.com/Dvorinka/Dash.git
synced 2026-10-28 07:41:27 +00:00
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>
16 lines
517 B
YAML
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
|