Commit graph

22 commits

Author SHA1 Message Date
Thomas Citharel 459f486a90
refactor(docker): allow webPush configuration to be configured using env variables in Docker
Closes #1383

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-11 16:31:24 +01:00
Thomas Citharel db385501aa
fix(emails): use tls_certificate_check to add tls config for mailer
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-07 11:42:19 +01:00
Thomas Citharel 4855af8f87
feat(docker): allow to configure loglevel at runtime through env variable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-07 09:17:33 +01:00
Thomas Citharel 9907f887c9
fix(docker): use separate env for tzdata dir path
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-06 16:07:42 +01:00
Thomas Citharel 126727bf58
fix(docker): fix getting default value for MOBILIZON_SMTP_SSL env
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-06 16:07:03 +01:00
Thomas Citharel 28063bd1d9
fix(docker): fix getting configuration value from env MOBILIZON_SMTP_TLS
Closes #1381

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-06 16:05:33 +01:00
Thomas Citharel 2ecdf05bf9
fix(docker): allow to configure SMTP TLS
The :tls configuration was not configurable with ENV variables, so it couldn't be changed to
:always, :never or :if_available

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-10-09 17:33:02 +02:00
Hugo Renard b3be7c6a20
fix(docker): convert smtp tls sni to char list
Signed-off-by: Hugo Renard <hugo.renard@protonmail.com>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-09-19 11:45:23 +02:00
Thomas Citharel f54fff56fc
fix(mail): fix sending mail on OTP26
For TLS connections specifying cacerts & server_name_indication is now required

Closes #1341

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-08-18 13:41:46 +02:00
Thomas Citharel 4bb062528f
feat(docker): Specify the folder where tzdata downloads data so that it can be used in a volume
Closes #1280

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-21 15:49:40 +02:00
oscar 4a9121825f Fix config requiring boolean 2023-04-12 11:34:23 +00:00
oscar 53782bf6e6 Add env var to use SSL when connection to DB 2023-04-11 13:59:30 +00:00
Thomas Citharel 6792ee3127
Fix port number type
After d8616899 and https://framagit.org/framasoft/mobilizon/-/merge_requests/1339#note_1894390

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-22 09:22:18 +01:00
Thomas Citharel d861689970
Allow to specify database port for Docker configuration
Closes #1193

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-21 11:05:39 +01:00
Thomas Citharel e841fb6fbb
Move mailer from Bamboo to Swoosh
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-05 12:38:02 +02:00
Thomas Citharel a54b879c2d
Enable exports on Docker
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 19:38:53 +01:00
Thomas Citharel 7e15b5fb7a
Set tzworld default dir in config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:32 +01:00
Thomas Citharel d2a0c4d044
Fix default listen-ip in Docker configuration
127.0.0.1 will only work in host mode. Default to 0.0.0.0 instead.

It can be manually overritten with actual container IP through
MOBILIZON_INSTANCE_LISTEN_IP env parameter.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-19 10:35:51 +02:00
Thomas Citharel 72226ae27d
Make Docker config listen by default only on ipv4 localhost (in docker.exs)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 18:10:22 +02:00
Thomas Citharel 11a06664bd
Fix Docker listen IP setting
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-30 13:53:47 +02:00
Thomas Citharel b645c7dade
Allow specifying the listen_ip on Docker
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-26 11:39:19 +01:00
Thomas Citharel 239457a219
Releases fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-15 10:34:03 +01:00
Renamed from config/releases.exs (Browse further)