Commit graph

84 commits

Author SHA1 Message Date
Pēteris Caune
77f12085bf
Add a note about SMTPD_PORT in README 2024-04-22 14:55:15 +03:00
Pēteris Caune
7734839bcc
Fix Dockerfile to avoid having /wheels/ in the final image
This is experimental, let's see if it works...
2024-04-05 13:59:34 +03:00
Pēteris Caune
198c80305e
Remove unused files from docker image, reducing its size slightly 2024-04-05 13:38:42 +03:00
Pēteris Caune
db31cacc86
Fix syntax 2024-02-16 12:37:59 +02:00
Pēteris Caune
ec0791b4ee
Update the WhatsApp integration to use Twilio Content Templates 2024-02-16 12:37:11 +02:00
Pēteris Caune
33284bd93f
Fix MariaDB version check
Naively comparing with string "10.7" does not quite work for
versions 10.10 and 10.11 :-)
2024-02-09 14:01:48 +02:00
Pēteris Caune
42f88f4fb0
Add S3_SECURE setting
It controls whether to use secure (TLS) connection to S3 or not.
2024-01-10 12:19:45 +02:00
Pēteris Caune
cb1b216125
Increase uWSGI buffer size to allow requests with large cookies
Fixes: #925
2023-12-15 13:43:27 +02:00
Pēteris Caune
1026c0a1f2
Update Dockerfile to use Python 3.12 2023-12-15 11:15:42 +02:00
Pēteris Caune
3b8d473980
Add --skip-checks to "manage.py smtpd" to avoid multiple check runs 2023-12-15 11:15:31 +02:00
Pēteris Caune
65b9dd371f
Add system check to validate settings.SITE_ROOT
Fixes: #895
2023-12-15 11:04:21 +02:00
Pēteris Caune
c22c8a0a76
Improve markdown markup 2023-10-18 09:17:31 +03:00
Pēteris Caune
e4f233ba30
Sync templates/docs/self_hosted_docker.md and docker/README.md 2023-10-18 09:00:38 +03:00
Pēteris Caune
c123e4d3a9
Add note about SMTPD_PORT in docs
cc: #791
2023-10-18 08:39:22 +03:00
Pēteris Caune
89aa0a832b
Update uwsgi.ini to allow UWSGI_PROCESSES env var to override it 2023-10-17 10:24:20 +03:00
Git'Fellow
8dbbd5b9d6
Switch to apt-get (#893)
More suitable and less error prone to use in scripts
2023-09-20 10:02:34 +03:00
Pēteris Caune
a2fdb5dc52
Update CHANGELOG for v2.10 release 2023-07-02 10:07:02 +03:00
Pēteris Caune
a53e79cc49
Add a note about pre-built images in docs/docker 2023-06-27 15:20:53 +03:00
Pēteris Caune
d4060279f1
Fix arm/v7 build 2023-06-15 13:56:04 +03:00
Pēteris Caune
8d41d284e5
Add libxml2 dependency now required by uwsgi 2023-06-15 09:14:44 +03:00
Pēteris Caune
6dbd665c67
Update Dockerfile to use Debian Bookworm as the base 2023-06-15 09:09:17 +03:00
Pēteris Caune
c324787809
Update Dockerfile to prepare a writable location for data volume 2023-06-13 13:52:59 +03:00
Pēteris Caune
292133526f
Update Dockerfile to install rust via rustup
(The rust version in bullseye repositories is now
too old to build cryptography.)
2023-06-05 15:39:13 +03:00
Pēteris Caune
eb7dfe5c63
Add Rocket.Chat integration
cc: #463
2023-05-30 12:30:29 +03:00
Pēteris Caune
c17a483be4
Add USE_GZIP_MIDDLEWARE env var which enables GZipMiddleware 2023-05-11 17:31:14 +03:00
Pēteris Caune
d92412a0df
Fix uwsgi.ini to check for .gz files only in the CACHE dir 2023-05-11 17:03:18 +03:00
Pēteris Caune
6a5d151026
Update uwsgi.ini to serve compressed static files 2023-05-11 16:50:26 +03:00
Pēteris Caune
6fa0d49467
Add note about uwsgi running background tasks automatically 2023-04-07 13:35:27 +03:00
Pēteris Caune
a55549894c
Add info about Dockerfile and Docker images in README 2023-04-07 13:24:35 +03:00
Pēteris Caune
82cac0aed8
Tweak uwsgi post buffer size and options
* set post-buffering (buffer for POST data) to 16192
* add auto-procname for friendlier process names
* add strict, uwsgi won't start if uwsgi.ini contains invalid options
2023-04-03 12:10:51 +03:00
Pēteris Caune
c6ce8918c5
Remove dollar signs from shell snippets in docker/README
cc: #814
2023-03-29 12:08:29 +03:00
Pēteris Caune
5fcbcb637c
Fix .env.example to have SMTPD_PORT undefined by default 2023-03-29 09:42:20 +03:00
Pēteris Caune
bb3f139335
Update the Dockerfile to use Python 3.11 2023-03-07 16:33:34 +02:00
Pēteris Caune
08849d6f22
Update Docker image's uwsgi.ini to use SMTPD_PORT env var
Fixes: #791
2023-02-07 13:38:05 +02:00
Pēteris Caune
949dfa5446
Try another cryptography/rust/qemu/armv7 workaround 2022-10-18 16:56:16 +03:00
Pēteris Caune
414d5a9424
Fix MySQL 8 support in the Docker image (#717) 2022-10-18 14:06:05 +03:00
Pēteris Caune
0cbe7798ac
Add max-fd=10000 in uwsgi.ini to work around uWSGI issue on Fedora
Fixes: #713
2022-10-13 16:26:19 +03:00
Pēteris Caune
b2a6fc20ab
Improve SITE_LOGO_URL docs
cc: #697
2022-08-23 11:40:46 +03:00
Pēteris Caune
5baa8a53de
Update Dockerfile with pycurl dependencies 2022-08-16 12:01:15 +03:00
Pēteris Caune
64bb43f74f
Limit allowed protocols, add INTEGRATIONS_ALLOW_PRIVATE_IPS setting 2022-08-16 11:13:14 +03:00
Pēteris Caune
7912f1e4df
Update Dockerfile to start SMTP listener
Fixes: #668
2022-06-13 17:15:51 +03:00
Pēteris Caune
1d340d24aa
Add notes in docs about configuring uWSGI via UWSGI_ env vars
cc: #656
2022-05-27 15:13:03 +03:00
Pēteris Caune
7889fa3d64
Remove obsolete key 2022-05-16 14:59:56 +03:00
Pēteris Caune
51d1b88a75
Rename /docker/.env -> /docker/.env.example
This should help avoid merge conflicts when users fork the
repository and make changes to /docker/.env

cc: #638
2022-04-20 15:55:46 +03:00
Pēteris Caune
d54dcb5ea6
Fix the GHA workflow for building arm/v7 docker image 2022-03-18 13:24:18 +02:00
Pēteris Caune
e8160e4cf3
Add minio in the Dockerfile 2022-03-18 09:56:24 +02:00
Pēteris Caune
383cff6255
Improve Dockerfile
Changes:
- Switch to Python 3.10
- Drop pywheels.org repository. Build cryptography, uwsgi, psycopg2
  etc. from source. This means builds on armhf will be slower, but
  hopefully fewer worries about the piwheels binary package
  not finding a .so file in our base image
- Don't ship the .git folder (facepalm)
2022-03-07 21:33:39 +02:00
Pēteris Caune
fc02b7dd99
Fix uwsgi breakage on armhf
The binary uwsgi package from piwheels.org crashes with:

    uwsgi: error while loading shared libraries: libxml2.so.2:
    cannot open shared object file: No such file or directory

(when run in a docker environment, with python:3.9-slim-buster
base image. It works fine in Raspbian)

The workaround is to build uwsgi from source, hence the "--no-binary"
flag.
2022-03-07 17:59:36 +02:00
Pēteris Caune
833e74474a
Update Dockerfile to include mysqlclient
cc: #612
2022-03-07 15:55:25 +02:00
Pēteris Caune
9c35b519b3
Update /docker/.env, replace SIGNAL_CLI_ENABLED -> SIGNAL_CLI_SOCKET 2022-02-18 09:51:25 +02:00