mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Replace FeatureInstallPrompt's local SSE/polling with useFeaturesStore so install progress, errors, and recovery are handled globally — works across navigation, logout/login, and partial downloads. Shows fun progress messages and ETA matching the settings page. Add compose healthcheck and optional GPU profile (--profile gpu).
47 lines
947 B
YAML
47 lines
947 B
YAML
services:
|
|
ashim:
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
image: ashim:latest
|
|
container_name: ashim
|
|
ports:
|
|
- "1349:1349"
|
|
volumes:
|
|
- ashim-data:/data
|
|
- ashim-workspace:/tmp/workspace
|
|
environment:
|
|
- AUTH_ENABLED=true
|
|
- DEFAULT_USERNAME=admin
|
|
- DEFAULT_PASSWORD=admin
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:1349/api/v1/health"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
start_period: 60s
|
|
retries: 3
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
ashim-gpu:
|
|
extends:
|
|
service: ashim
|
|
container_name: ashim-gpu
|
|
profiles:
|
|
- gpu
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
|
|
volumes:
|
|
ashim-data:
|
|
ashim-workspace:
|