-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.toml
More file actions
40 lines (33 loc) · 1.48 KB
/
config.example.toml
File metadata and controls
40 lines (33 loc) · 1.48 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
# All sections are optional except [printers]
# The SMTP section even if not used is validated, comment out if not using
[smtp]
# SMTP Server to send emails with
host = "smtp.domain.com"
port = 587
encryption = "starttls" # or "tls" or "none"
user = "" # Also used for the 'from' field
password = ""
# You can specify where to send specific notifications to specific destinations.
# Comment out a section if you do not want notifications, or leave empty lists
# Notifications types:
# - notifications.on_done
#
# Note: Webhooks are currently designed for discord compatibility only
#[notifications.on_done]
#emails = ["your@email.com"]
#webhooks = ["https://discord.com/webhook-url-here"]
[auth]
# By default API allows anyone to read or change settings on the printer. This includes setting temperature, moving, starting, cancelling print, etc
# An optional password can be configured to control access
# If either password_for is set to true, the password must be provided as a "x-secret" header
# Is password needed for write access (set temperature, move, etc.)
password_for_write = false
# Is password needed for read access (any printer API)
password_for_read = false
# If password is blank, then no entered password will be accepted if a password is required
password = "test"
[printers]
# All printers the api uses, this will be listed in /api/printers. The key is the friendly name of printer
# Fields:
# ip - ip address of printer, without port (port defaults to 8899)
main = { ip = "192.168.1.89" }