mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
GPU is activated at runtime via --gpus all, not a separate compose file. Added log rotation (10MB x 3 files) to prevent disk fill on long-running instances. Removed docker-compose.gpu.yml.
26 lines
534 B
YAML
26 lines
534 B
YAML
services:
|
|
stirling-image:
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
image: stirlingimage/stirling-image:latest
|
|
ports:
|
|
- "1349:1349"
|
|
volumes:
|
|
- stirling-data:/data
|
|
- stirling-workspace:/tmp/workspace
|
|
environment:
|
|
- AUTH_ENABLED=true
|
|
- DEFAULT_USERNAME=admin
|
|
- DEFAULT_PASSWORD=admin
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
volumes:
|
|
stirling-data:
|
|
stirling-workspace:
|