Commit Graph

40 Commits

Author SHA1 Message Date
Adrien Ferrand
1359364c05 Apply patch to configure.pl to fix incompatibility with Data::Dumper>2.182 2023-10-30 16:46:57 +01:00
AngusMcGyver
39fadf2ab0
Update entrypoint.sh (#58)
Fix for #47 https://github.com/adferrand/docker-backuppc/issues/47
2021-08-05 00:10:58 +02:00
Vincent
b23f2a91c7
Ensure Lighttpd loads mod_openssl when USE_SSL=true (#56)
Fixes #55
2021-06-28 23:32:33 +02:00
Adrien Ferrand
d79dfd142d Avoid to overwrite pre-defined /etc/msmtprc 2020-11-06 14:40:29 +01:00
Chris Sibbitt
8cfcbc5f66
Fix firstrun flag (#40)
Fixes #31

Credit to @tadr0 for spotting it[1]. Problem introduced when adding quotes here[2].

I tested this from my branch, and my container can now restart cleanly again:

```
2020-08-12 23:30:42,646 WARN received SIGTERM indicating exit request
2020-08-12 23:30:42,647 INFO waiting for backuppc, lighttpd, watchmails to die
2020-08-12 23:30:42,648 INFO stopped: watchmails (terminated by SIGTERM)
2020-08-12 23:30:42,650 INFO stopped: lighttpd (exit status 0)
2020-08-12 23:30:43,652 INFO stopped: backuppc (exit status 0)
2020-08-12 23:30:46,304 INFO Set uid to user 0 succeeded
2020-08-12 23:30:46,309 INFO RPC interface 'supervisor' initialized
2020-08-12 23:30:46,310 INFO supervisord started with pid 1
2020-08-12 23:30:47,314 INFO spawned: 'backuppc' with pid 13
2020-08-12 23:30:47,317 INFO spawned: 'lighttpd' with pid 14
2020-08-12 23:30:47,319 INFO spawned: 'watchmails' with pid 15
2020-08-12 23:30:48,426 INFO success: backuppc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
```

[1] https://github.com/adferrand/docker-backuppc/issues/31#issuecomment-672891314
[2] 95034418c1 (diff-46bd948566ee03504c6421cadd8047faR119)
2020-08-13 17:41:39 +02:00
Adrien Ferrand
95034418c1 Release 4.4.0-1 2020-07-24 01:23:58 +02:00
Adrien Ferrand
cbab290576 Set metrics doc and config 2020-06-21 14:22:20 +02:00
Christian Uhlmann
06c82b416a
Seperate auth - Active Directory / LDAP (#23)
* Enable authiorization against active diretory / LDAP

* fix type in readme

* fix table in readme

* fix table in readme

* add LDAP auth

Co-authored-by: Adrien Ferrand <ferrand.ad@gmail.com>
2020-04-12 13:15:31 +02:00
Adrien Ferrand
2fad465e51 Refactor log handling 2020-03-01 17:33:13 +01:00
Adrien Ferrand
d47640ca28 Clean files, clean build dependencies 2020-03-01 16:14:57 +01:00
Adrien Ferrand
2a6d3e2b46 Switch back to supervisor 2020-03-01 15:57:35 +01:00
Adrien Ferrand
9b81f750a3 Circus in venv 2020-03-01 15:45:45 +01:00
Adrien Ferrand
80438c7508 More wait, pass circus as PID 1 2019-07-16 23:40:05 +02:00
Adrien Ferrand
cd25cd329d Use a minimal passphrase of 4 characters to be accepted by newest versions of openssl 2019-03-10 20:58:06 +01:00
Alwyn Kik
f308d4a1e2 Fix using container's hostname 2018-12-06 13:49:01 +01:00
Alwyn Kik
fab101a40e Use container's hostname instead of localhost as backuppc hostname 2018-12-04 15:21:44 +01:00
Adrien Ferrand
011a825b85 Allow to use a pre-existing SSL certificate 2018-11-27 01:23:38 +01:00
Adrien Ferrand
ac2ca71525 New version 4.2.1-2 2018-10-09 17:21:42 +02:00
Adrien Ferrand
e696d37b9b Clean unused config 2018-09-12 16:47:15 +02:00
Adrien Ferrand
5dca16b89c Correct various bugs on circus, in particular in passing env variables 2018-09-12 14:37:59 +02:00
Adrien Ferrand
a7fd5b6a68 Configure circus 2018-09-12 11:27:58 +02:00
Adrien Ferrand
a6e80143a3 Correct install 2018-09-12 11:07:36 +02:00
Adrien Ferrand
bf8d0a2fd1 Improve login of supervisord 2017-11-15 12:12:16 +01:00
Adrien Ferrand
17604e78be Configure backuppc user accordingly 2017-11-15 12:06:58 +01:00
Adrien Ferrand
f48b618766 Correct runtime 2017-11-15 11:58:01 +01:00
Adrien Ferrand
bd919669df Correction 2017-11-15 11:51:54 +01:00
Adrien Ferrand
f603a49d1d Deals with already existing user/group backuppc 2017-11-15 11:24:53 +01:00
Magnus Eriksson
19c7d167f5 TimeZone: fix inverted check of TZ
and add a clarification to README.
  On Ubuntu 16.04.3, mounting /etc/localtime from host to container
does not work. The container exits with error in entrypoint.sh.
2017-09-02 18:45:26 +02:00
Adrien Ferrand
46f26df9b5 Correct MIME types in lighttpd, bump par2 to version v0.7.3 2017-08-13 22:08:06 +02:00
Adrien Ferrand
17aa3d5b31 Add env variable driven timezone 2017-08-02 10:15:42 +02:00
Adrien Ferrand
d2a2c65db3 Persist log dirs files in /data/backuppc 2017-06-26 22:28:07 +02:00
Adrien Ferrand
e502d5b46e Version 4.1.3-2, with updated documentation about authentication. 2017-06-08 21:08:28 +02:00
Christoph Roeder
7483c2a615 override CgiAdminUsers only for new installations or env vars set
env vars  BACKUPPC_WEB_USER and BACKUPPC_WEB_PASSWD must be set
2017-06-08 17:52:12 +02:00
Christoph Roeder
7b994d5fef keep htpasswd if no env vars given and create a new one when not exist 2017-06-08 14:50:09 +02:00
Christoph Roeder
abb1b05519 do not overwrite existing htpasswd 2017-06-08 13:20:45 +02:00
Adrien Ferrand
45fad0128c Directive config-override is available for 4.x version 2017-05-21 13:14:38 +02:00
Adrien Ferrand
c2a6a5735d Backuppc 3.3.0 2017-04-22 21:36:22 +02:00
Adrien Ferrand
70c0fbec36 Make an entrypoint compatible for both branches 2017-04-22 16:29:55 +00:00
Adrien Ferrand
d20b133a69 Add mail delivery ability 2017-04-21 21:57:14 +00:00
root
3604b822ae First commit, working docker. 2017-04-19 21:14:33 +00:00