mirror of
https://github.com/rishikanthc/Scriberr.git
synced 2026-03-03 02:27:01 +00:00
- Update Docker Compose files to default PUID/PGID to 1000 - Add note about SECURE_COOKIES for non-SSL access in README and project site - Create dedicated Troubleshooting page in documentation site - Synchronize permissions documentation across all platforms
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
services:
|
|
scriberr:
|
|
# Build from local Dockerfile; replace with `image: ghcr.io/rishikanthc/scriberr:latest`
|
|
# if you prefer pulling a prebuilt image.
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.cuda
|
|
image: scriberr:local-cuda
|
|
container_name: scriberr
|
|
ports:
|
|
- "8080:8080"
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities:
|
|
- gpu
|
|
environment:
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
|
# environment:
|
|
# - HOST=0.0.0.0
|
|
# - PORT=8080
|
|
# - DATABASE_PATH=/app/data/scriberr.db
|
|
# - UPLOAD_DIR=/app/data/uploads
|
|
- PUID=${PUID:-1000}
|
|
- PGID=${PGID:-1000}
|
|
# Security: already set in container, but can be overridden
|
|
- APP_ENV=production
|
|
# CORS: comma-separated list of allowed origins for production
|
|
# - ALLOWED_ORIGINS=https://your-domain.com
|
|
volumes:
|
|
- ./scriberr_data:/app/data
|
|
- ./env-data:/app/whisperx-env
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
scriberr_data:
|
|
env-data:
|