-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathserver-profiles.toml
More file actions
120 lines (107 loc) · 2.57 KB
/
Copy pathserver-profiles.toml
File metadata and controls
120 lines (107 loc) · 2.57 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# CachyOS Server Edition profiles.
[server]
schema_version = 1
default_profile = "minimal"
default_kernel = "linux-cachyos-server"
profile_order = [
"minimal",
"web",
"container-host",
"cockpit",
]
[server.base]
packages = [
"openssh",
"ufw",
"haveged",
]
units = [
{ name = "sshd", action = "enable", urgent = true },
{ name = "ufw", action = "enable", urgent = true },
{ name = "systemd-timesyncd", action = "enable" },
{ name = "fstrim.timer", action = "enable" },
{ name = "haveged", action = "enable" },
]
# permits ssh only
firewall_tcp_ports = [22]
firewall_udp_ports = []
features = [
"sshd-key-only",
"ufw-default-deny",
"server-sysctl",
]
[server.profiles.minimal]
name = "Minimal Server"
description = "Minimal headless CachyOS installation."
packages = []
units = []
firewall_tcp_ports = []
firewall_udp_ports = []
warnings = []
[server.profiles.web]
name = "Web Server"
description = "Nginx web server."
packages = [
"nginx",
"certbot-nginx",
]
units = [
{ name = "nginx", action = "enable", urgent = true },
]
firewall_tcp_ports = [80, 443]
firewall_udp_ports = []
warnings = [
"TLS certificates require a valid domain name and explicit Certbot enrollment.",
]
[server.profiles.container-host]
name = "Container Host"
description = "Docker compose container host."
packages = [
"docker",
"docker-buildx",
"docker-compose",
]
units = [
{ name = "docker", action = "enable", urgent = true },
]
firewall_tcp_ports = []
firewall_udp_ports = []
warnings = [
"Users are not automatically added to the docker group.",
]
[server.profiles.cockpit]
name = "Cockpit Managed Server"
description = "Web-managed server with the Cockpit plugins."
packages = [
"cockpit",
"cockpit-files",
"cockpit-storaged",
"pcp",
"podman",
"cockpit-podman",
"qemu-base",
"libvirt",
"libvirt-dbus",
"virt-install",
"dnsmasq",
"swtpm",
"edk2-ovmf",
"cockpit-machines",
"polkit",
"sudo",
"sscg",
]
units = [
{ name = "cockpit.socket", action = "enable", urgent = true },
{ name = "pmcd.service", action = "enable" },
{ name = "pmlogger.service", action = "enable" },
{ name = "libvirtd.socket", action = "enable" },
]
firewall_tcp_ports = [9090]
firewall_udp_ports = []
warnings = [
"Cockpit uses a self-signed TLS certificate initially; replace it before exposing the interface beyond a trusted network.",
"Cockpit is available at https://SERVER_ADDRESS:9090/.",
"The Cockpit firewall page is unavailable because Server Edition uses ufw instead of firewalld.",
"Access to port 9090 should be restricted to local network or/and VPN.",
]