1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00
Commit Graph

138 Commits

Author SHA1 Message Date
Florent Daigniere
0c4455ccf5 Revert "Rollback to alpine 1.12"
This reverts commit e1ddbb6eec.
2021-09-01 18:53:20 +02:00
Florent Daigniere
e1ddbb6eec Rollback to alpine 1.12
it ships unbound 1.10 that doesn't have the bug I think
08968baec1
2021-08-19 15:33:26 +02:00
Florent Daigniere
0211c06c37 don't need sudo here 2021-07-05 15:54:04 +02:00
Florent Daigniere
420afa53f8 Upgrade to alpine 3.14 2021-07-05 15:50:49 +02:00
parisni
d2803f6f46 Update setup website 2021-06-19 00:38:53 +02:00
parisni
278878d48d Remove unused deps 2021-06-18 23:36:14 +02:00
bors[bot]
42cefab4c2
Merge #1760
1760: Security updates to postgresql r=mergify[bot] a=WebSpider

## What type of PR?

Security update

## What does this PR do?

It fixes vulnerabilities in the sudo package in the postgresql optional container documented in
CVE-2021-23240, CVE-2021-3156 and CVE-2021-23239

### Related issue(s)

None

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Nils Vogels <n.vogels@aves-it.nl>
2021-06-04 07:56:29 +00:00
Dario Ernst
4dbefe8e3a
Merge pull request #1631 from toastboy70/bug/#1536
Change unbound logfile to the empty string
2021-06-03 21:23:29 +02:00
Nils Vogels
6c4fa5432f Provide fix in postgresql container for CVE-2021-23240, CVE-2021-3156, CVE-2021-23239 2021-02-11 12:03:07 +01:00
cbachert
72a9ec5b7c Fix extract_host_port port separation
Regex quantifier should be lazy to make port separation work.
2020-10-24 00:25:53 +01:00
Jon Wilson
5e32447f07 Change unbound logfile to the empty string
This is defined to send log messages to stderr, which is
what we want - fixes #1536 ("Could not open logfile /dev/stdout:
Permission denied")
2020-09-21 15:06:43 +01:00
Richard Gomes
b414757ff8 Fix hardcoded reference to admin container. 2020-08-23 14:32:02 +02:00
ofthesun9
539114a3d6
Merge branch 'master' into test-alpine-3.12 2020-08-09 16:37:45 +02:00
ofthesun9
16ec9adadd
Update optional/radicale/Dockerfile
Co-authored-by: Dario Ernst <github@kanojo.de>
2020-08-09 14:54:00 +02:00
ofthesun9
e8b72099a7 Switching to alpine:3.12 and use fetchmail from alpine repository
alpine3:12 provides fetchmail 6.4.5, so building fetchmail from alpha branch
is not needed anymore (ssl wrapped mode issue fixed) since 6.4.2
2020-06-16 09:19:37 +02:00
ofthesun9
e5f892ce70 Adjust radicale Dockerfile for alpine:3.12 & layers optimisation 2020-06-15 17:48:15 +02:00
ofthesun9
cff2e76269 Switching to alpine:3.12 2020-06-15 17:32:56 +02:00
ofthesun9
506b7e9372 Use Radicale 3.x for webdav service
- remove ==2.1.12 in Dockerfile pip3 install radicale
- remove -f flag in Dockerfile CMD
- remove deprecated daemon and dns_lookup settings from radicale.conf
- move realm setting from [server] to [auth] in radicale.conf
- add newsfragment
2020-05-28 14:57:54 +02:00
ofthesun9
6647c96bf9 Fixed typo in Dockerfile 2020-05-20 08:40:57 +02:00
ofthesun9
45f3772c26 Stick radicale to 2.1.12 version
As 3.0 is breaking compatibility with 2.1 branch
2020-05-20 08:21:59 +02:00
Tim Möhlmann
dd07b0e3aa
Postgresql: default SUBNET6 in pg_hba 2020-05-03 22:53:22 +03:00
bors[bot]
564ca741a4
Merge #1257
1257: Allow local IPv6 connections to Postgres r=mergify[bot] a=tulir

## What type of PR?

bug-fix

## What does this PR do?

Fix postgres connection not working when IPv6 is enabled

Co-authored-by: Tulir Asokan <tulir@maunium.net>
2020-04-30 21:42:06 +00:00
Alexander A. Klimov
313e98c1a2 fetchmail: print unhandled exceptions, but don't crash
refs #1295
2020-03-07 21:41:45 +01:00
kaiyou
7507345ce9 Fix encoding of custom fields in fetchmailrc 2020-02-07 21:44:23 +01:00
Nick Young
0281205313
Upgrade alpine to get new clamav. 2019-12-23 08:57:41 -06:00
bors[bot]
cfd838f310
Merge #1215
1215: Allow specifying the traefik version for cert dumping r=mergify[bot] a=timoschwarzer

## What type of PR?

Enhancement

## What does this PR do?

### Related issue(s)
- #1011 

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [X] In case of feature or enhancement: documentation updated accordingly
- [X] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Timo Schwarzer <me@timoschwarzer.com>
2019-12-09 11:55:17 +00:00
Michael Wyraz
09ee3ce95c Install py3-multidict from repository before installing socrate to avoid the need of gcc during build 2019-12-04 19:05:14 +01:00
Tulir Asokan
dcef6ff3e3
Allow local IPv6 connections to Postgres 2019-11-18 14:15:05 +02:00
Dario Ernst
b374072892 Radicale: Use pip package instead of alpine repo
Required to fix failing builds caused by [alpine]upstream package rebuild against different python version
2019-11-17 14:54:57 +01:00
Tim Möhlmann
4e4b071fb0
Move services into core and optional 2019-10-23 18:27:25 +03:00
Timo Schwarzer
0c82caf817
Allow specifying the traefik version for cert dumping 2019-10-13 21:36:34 +02:00
Aurélien Bondis
124b1d4c71 rebase and update for 3.10, avoid adding qemu file to x86 images 2019-08-21 12:24:30 -04:00
Dennis Boldt
d6cf5b991b
Update run.sh
On the first run, this script shows the error 'diff: can't stat '/output/cert.pem': No such file or directory', because the file does not exist in the folder `/output` yet. This bugfix ensures, that the diff is only called, when all required files are available.
2019-08-11 00:39:52 +02:00
bors[bot]
f9ed1b74d9 Merge #1082
1082: Use socrate instead of Mailustart r=mergify[bot] a=hoellen

## What type of PR?

enhancement

## What does this PR do?
This PR updates the `Dockerfile`, `setup.py` and `config.py` of each image to support the new [Mailu/socrate](https://github.com/Mailu/socrate) python package. So [MailuStart](https://github.com/Mailu/MailuStart) is not used anymore for resolving DNS and configuration processing. 

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: hoellen <dev@hoellen.eu>
2019-07-28 19:09:11 +00:00
bors[bot]
b4f0002e86 Merge #1074
1074: Update traefik-certs-dumper r=muhlemmer a=YouriT

## What type of PR?

bug-fix

## What does this PR do?

Remove a useless dependency & update the command line according to the [latest ldez/traefik-certs-dumper documentation](https://github.com/ldez/traefik-certs-dumper/blob/master/docs/traefik-certs-dumper_file.md).

Co-authored-by: Youri Tolstoy <ytolstoy@gmail.com>
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2019-07-25 20:53:22 +00:00
hoellen
9de5dc2592 Use python package socrate instead of Mailustart 2019-07-25 10:33:57 +02:00
Youri Tolstoy
bfe4798e06
Update run.sh
update command according to ldez/traefik-certs-dumper
2019-07-15 14:05:59 +02:00
Youri Tolstoy
d6cebcd102
Update Dockerfile
remove docker dependency
2019-07-15 14:05:01 +02:00
Dario Ernst
1dbda71401 Adapt shared layer conf to now really-missing mailustart in admin (after merging webpack) 2019-07-14 13:12:59 +00:00
Dario Ernst
0306be1eed Re-add missing MailuStar in admin
It turns out we were all blind and admin *does* use MailuStart
2019-07-14 10:27:57 +00:00
Dario Ernst
53f754f5ac Remove MailuStart from admin and correct layer-sharing comments 2019-07-14 09:33:54 +00:00
Dario Ernst
bb2edb6eb6 Revert "Move alpine version definition out to variable"
This reverts commit c787e4bdbd.
2019-06-30 11:39:48 +00:00
Dario Ernst
c787e4bdbd Move alpine version definition out to variable 2019-06-26 21:14:59 +00:00
Dario Ernst
1fa287a6d9 Update radicale dockerfile to alpine 3.10 2019-06-25 20:33:27 +00:00
Dario Ernst
d1f80cca99 Update Dockerfiles to most recent alpine 3.10 2019-06-25 19:24:05 +00:00
Thomas Sänger
ef3c6c407a upgrade alpine base-image 2019-06-25 19:23:40 +00:00
Dario Ernst
1acd629e6f Use ldez/traefik-certs-dumper in certificate dumper, and make more robust
closes #820
2019-03-10 12:15:14 +00:00
Abel Alfonso Fírvida Donéstevez
39444c794e Install bash in alpine based images.
This fix https://github.com/Mailu/Mailu/issues/918

Bash shell is used by default in Kubernetes' dashboard console, which is very
useful for admins.
2019-02-06 15:01:02 -05:00
Dario Ernst
2c5f977117
Make certdumper output fullchain-pems
Before it only outputted a pem-file with the server-certificate —
however, it seems some clients want the fullchain delivered, as it’s
common with letsencrypt.

closes #847
2019-01-24 17:34:32 +02:00
Ionut Filip
50343f354e Merge remote-tracking branch 'upstream/master' into feat-psql-support 2019-01-11 11:21:22 +02:00
Tim Möhlmann
3e97e7e1c2
Missed a spot of cleaning syntax 2019-01-08 05:26:04 +02:00
Tim Möhlmann
7d01bb2a4d
LOG_LEVEL docs and changelog entry 2019-01-08 00:58:01 +02:00
Tim Möhlmann
e994e94512
Implement logging in clamav start script 2019-01-08 00:35:52 +02:00
Ionut Filip
973052fb81 Use DB_PW insead of SECRET_KEY 2019-01-07 14:16:59 +02:00
Ionut Filip
9755054086 Downgraded anosql version 2019-01-07 12:55:59 +02:00
Tim Möhlmann
b2823c23b8
Merge remote-tracking branch 'upstream/master' into feat-psql-support 2018-12-31 18:20:39 +02:00
Tim Möhlmann
9eaeb80a27
Finalize merge with kaiyou/feat-multiple-db 2018-12-31 18:02:07 +02:00
Tim Möhlmann
a5b96553aa
Check for dumpcerts.sh return status code 2018-12-30 18:47:12 +02:00
Tim Möhlmann
fd23e02aaa
Use alpine versioned and defin volumes 2018-12-30 18:45:48 +02:00
Dario Ernst
633919e97c Add docker to dump traefiks certificates to pem
This is required since traefik sitting on HTTP is able to grab
LetsEncrypt certificates which then need to be injected into the front
container.
2018-12-26 12:11:19 +01:00
kaiyou
76925e82f3 Revert "Implement CIText as NOCASE alternative in postgresql"
This reverts commit 0f3c1b9d15.
2018-12-10 15:01:27 +01:00
Tim Möhlmann
c1839b1ec1
Increase health start period for clamav's DB download 2018-12-08 23:47:37 +02:00
Tim Möhlmann
55cf328ce2
Documentation how to use Postgresql 2018-12-03 19:02:03 +02:00
Tim Möhlmann
bdcf69b0e6
Keep one more WAL archive, to enable single-last backup recovery 2018-11-30 18:12:23 +02:00
Tim Möhlmann
44dae7353c
Gzip wal_archives 2018-11-30 17:46:59 +02:00
Tim Möhlmann
2cb27a9f32
Fix sorting of /backup/base-* directories 2018-11-30 17:43:03 +02:00
Tim Möhlmann
3ce73f5bc0
Automatic restore of backups when /data is empty 2018-11-30 16:59:03 +02:00
Tim Möhlmann
de3f125ed3
Implement health checking 2018-11-30 13:57:57 +02:00
Tim Möhlmann
e8d05c657f
Automatic pg_basebackup and wal_archive cleaning 2018-11-28 18:43:20 +02:00
Tim Möhlmann
479b410f19
Implement WAL archiving 2018-11-22 07:52:59 +02:00
Tim Möhlmann
e3a503a559
Move data to the root directory, for simplification 2018-11-22 07:52:47 +02:00
Tim Möhlmann
0f3c1b9d15
Implement CIText as NOCASE alternative in postgresql 2018-11-20 14:41:17 +02:00
Tim Möhlmann
2ced020513
Create user for healthcheck 2018-11-19 11:55:41 +02:00
Tim Möhlmann
a2b5b4d2e0
Declare the data volume properly 2018-11-18 23:48:20 +02:00
Tim Möhlmann
79246cf2a3
Create Postgresql image 2018-11-18 18:35:13 +02:00
Tim Möhlmann
42e2dbe35d
Standarize image by using shared / similair layers 2018-10-31 19:17:23 +02:00
Ionut Filip
8a44a44688
Merge branch 'master' into feat-startup 2018-10-23 12:51:32 +03:00
Ionut Filip
1187cac5e1 Finished up switching from .sh to .py 2018-10-23 11:58:36 +03:00
Ionut Filip
0e5606d493 Changed start.sh to start.py 2018-10-22 18:01:59 +03:00
Thomas Sänger
f0f5cea5d1
make antivirus-healthcheck more understandable 2018-10-16 22:30:15 +02:00
Thomas Sänger
040c1e529a
add healthcheck for antivirus 2018-10-16 22:20:16 +02:00
Thomas Sänger
39272ab05c
add healthcheck for http services 2018-10-16 21:38:12 +02:00
Tim Möhlmann
2c7a5a97e4
Move to alpine:3.8. Fixes #625 and #627 2018-10-10 14:28:26 +03:00
kaiyou
2cba045013 Explicitely declare required volumes, fixes #568 2018-09-28 17:28:46 +02:00
kaiyou
d1dbba2d3a Add expose instructions in Dockerfiles, fixes #392 2018-04-21 14:46:01 +02:00
kaiyou
bac906ba5b Switch to edge for clamav 2018-03-13 19:32:05 +01:00
kaiyou
f3ae318132 Perform webdav authentication in nginx, fixes #330 2017-11-20 00:09:19 +01:00
kaiyou
689be5f2d9 Move all directories per theme 2017-11-01 12:11:04 +01:00