forked from jkef80/Filament-Management
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (23 loc) · 784 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
23 lines (23 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
services:
cfsync:
build: .
container_name: cfsync
restart: unless-stopped
ports:
- "8005:8005"
# Create .env file here and override the settings below (See .env.template for example)
environment:
- UI_PORT=8005
- TZ=${TZ:-Asia/Jerusalem}
- PRINTER_URLS=${PRINTER_URLS:-["127.0.0.1"]}
- FILAMENT_DIAMETER=${FILAMENT_DIAMETER:-1.75}
- SPOOLMAN_URL=${SPOOLMAN_URL:-http://127.0.0.1:7912}
- SPOOLMAN_MODE=${SPOOLMAN_MODE:-direct} # direct or moonraker
volumes:
# This ensures your filament data survives container updates
- ./data:/opt/filament-management/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8005/api/health"]
interval: 30s
timeout: 10s
retries: 3