Girish Ramakrishnan
1afa2e87ec
mailserver: a056bcfd broke mail server restart
...
after proxying, we never restarted the mail server
also add note that restart has to reconfigure
2024-04-19 10:48:08 +02:00
Girish Ramakrishnan
be2775e12e
memoryLimit: redefine to not include swap
...
Currently, we allocate 50% as RAM and 50% as swap. The manifest is
usually quite conservative on memory values. This means that we set
up a system where the app is applying memory pressure almost immediately.
This then swaps things randomly and increases cpu usage (kswapd shows
up in the profile).
To rethink the whole situation: we should not cap apps with a swap limit at all.
The memory hard limit is what is important. By redefining memoryLimit , we are
doubling every container's memory and it's good that we over allocate this.
2024-04-09 18:59:40 +02:00
Girish Ramakrishnan
104997d77c
syslog: change it to unix domain socket
...
docker is using a extra udp port for every container. when there is
a lot of containers, a lot of random udp ports get used up. this causes
problems when installing apps that require contiguous port ranges
2024-03-21 18:59:08 +01:00
Girish Ramakrishnan
3316dd1f42
fixup various shell usage
2024-02-28 18:59:45 +01:00
Girish Ramakrishnan
60994f9ed1
shell: docker run needs shell
...
don't want to get into parsing quotes!
2024-02-22 10:59:39 +01:00
Girish Ramakrishnan
a6f078330f
shell: no need to promise scoping
2024-02-21 19:40:27 +01:00
Girish Ramakrishnan
14c9260ab0
shell: exec encoding is utf8 by default and no shell
...
explicitly mark calls that require the shell
2024-02-21 17:47:25 +01:00
Girish Ramakrishnan
9b94cf18d0
convert more execSync to async
2024-02-21 11:00:12 +01:00
Girish Ramakrishnan
26eb739b46
shell: add options to exec
2024-02-20 21:11:09 +01:00
Girish Ramakrishnan
ceb908bee7
Use constants.TEST
2023-10-01 13:52:19 +05:30
Girish Ramakrishnan
1ad94708b4
apps have to reconfigured in main thread
...
they cannot be done in the task process
2023-08-21 21:35:09 +05:30
Girish Ramakrishnan
bf2531337f
Fix crash on mail server change
2023-08-21 21:15:58 +05:30
Girish Ramakrishnan
79af6c1a68
On dashboard or email location change, reconfigure immediately
2023-08-21 18:34:07 +05:30
Girish Ramakrishnan
3d0ba557e5
add Location class
2023-08-17 10:44:07 +05:30
Girish Ramakrishnan
de7879afb5
store subdomain in database instead of fqdn
...
this makes it more consistent with the locations table
2023-08-16 21:58:56 +05:30
Girish Ramakrishnan
1133a41b77
Fix proxy config not generated on restore
2023-08-16 12:52:52 +05:30
Girish Ramakrishnan
4acbb7136a
proper task name for dashboard change
2023-08-14 10:45:12 +05:30
Girish Ramakrishnan
e723c3c19b
move dashboard change routes under dashboard/
2023-08-13 10:06:01 +05:30
Girish Ramakrishnan
c6db1c70c0
docker: fix image prune
...
it seems docker images --digests cloudron/sftp --format "{{.ID}} {{.Repository}}:{{.Tag}}@{{.Digest}}
broke at some point
2023-08-08 21:21:00 +05:30
Girish Ramakrishnan
4cdf37b060
settings: move mailFqdn/Domain into mailServer
2023-08-04 22:02:24 +05:30
Girish Ramakrishnan
946e5caacb
split mail and mailserver
...
mail = all the per-domain code
mailserver = all the mail server level code
2023-08-04 20:54:39 +05:30