-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (48 loc) · 1.3 KB
/
Copy pathdocker-compose.yml
File metadata and controls
54 lines (48 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Obico (formerly The Spaghetti Detective) — Self-Hosted AI Print Failure Detector
#
# Usage:
# docker compose up -d
# Then: OctoPrint → Settings → Obico → Server: http://<this-host>:3334
#
# Docs: https://www.obico.io/docs/server-guides/
version: "3.8"
services:
obico-web:
image: thespaghettidetective/web:latest
container_name: obico-web
restart: unless-stopped
environment:
- DJANGO_SECRET_KEY=change-this-to-a-random-string
- EMAIL_HOST=smtp.gmail.com
- EMAIL_HOST_USER=
- EMAIL_HOST_PASSWORD=
- DEFAULT_FROM_EMAIL=
volumes:
- obico_media:/app/ml_api/media
- obico_data:/app/data
ports:
- "3334:3334"
depends_on:
- obico-ml-api
- obico-redis
obico-ml-api:
image: thespaghettidetective/ml_api:latest
container_name: obico-ml-api
restart: unless-stopped
# GPU acceleration (optional, requires nvidia-docker2):
# runtime: nvidia
# environment:
# - NVIDIA_VISIBLE_DEVICES=all
obico-redis:
image: redis:7-alpine
container_name: obico-redis
restart: unless-stopped
volumes:
- obico_redis:/data
volumes:
obico_media:
obico_data:
obico_redis:
# Author: Anton Petnitsky
# GitHub: https://github.com/Mukller/3d-printer-control
# Last modified: 2026-07-14 17:29:03 +0300