-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstandard.yml
More file actions
63 lines (58 loc) · 1.52 KB
/
standard.yml
File metadata and controls
63 lines (58 loc) · 1.52 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
55
56
57
58
59
60
61
62
63
version: "2"
services:
traefik:
image: traefik:1.7
command:
- "--api"
- "--docker"
- "--docker.exposedByDefault=false"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "${WEB_PORT}:80"
restart: always
labels:
- klipperondocker=1
dockerapi:
image: klipperondocker/dockerapi:${DOCKERAPI_VERSION}
ports:
- "8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
restart: always
labels:
- klipperondocker=1
octoprint:
image: klipperondocker/octoprint:${OCTOPRINT_VERSION}
restart: always
privileged: true
ports:
- "7080:5000"
volumes:
- "${OCTOPRINT_CONFIG}:/octoprint_config"
- "${KLIPPER_CONFIG}:/klipper_config"
- "${UPLOADS}:/uploads"
environment:
SOCAT_TYPE: "TCP"
SOCAT_HOST: "klipper"
SOCAT_PORT: "9999"
# SOCAT_DEBUG: " -d -d -d -t 60 -T 60 "
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:0.0.0.0,127.0.0.1,localhost
- traefik.port=5000
- traefik.tags=klipperondocker
- klipperondocker=1
klipper:
image: klipperondocker/klipper:${KLIPPER_VERSION}
restart: always
privileged: true
volumes:
- "/dev:/hostdevices"
- "${KLIPPER_CONFIG}:/klipper_config"
- "${KLIPPER_LOG}:/klipper_log"
- "${UPLOADS}:/uploads"
environment:
SER2NET_CONFIG: "9999:raw:0:/tmp/printer:115200 8DATABITS NONE 1STOPBIT -XONXOFF LOCAL -RTSCTS"
labels:
- klipperondocker=1