0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-08 14:40:05 +00:00
Commit graph

109 commits

Author SHA1 Message Date
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: 
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: 
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 () 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: 
2022-10-13 16:26:19 +03:00
Pēteris Caune
b2a6fc20ab
Improve SITE_LOGO_URL docs
cc: 
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: 
2022-06-13 17:15:51 +03:00
Pēteris Caune
1d340d24aa
Add notes in docs about configuring uWSGI via UWSGI_ env vars
cc: 
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: 
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: 
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
Pēteris Caune
622755f7aa
Improve the X-Forwarded-Proto note
cc: 
2022-01-24 15:58:24 +02:00
Pēteris Caune
15be40ce6b
Add note about X-Forwarded-Proto
cc: 
2022-01-17 11:34:06 +02:00
Pēteris Caune
d615cde23e
Update Dockerfile to avoid running "pip wheel" more than once
The problem:
- the first "pip wheel" collects a specific version of requests
- the second "pip wheel" collects the latest version of requests
- later "pip install" tries to install both and fails

The fix is to run "pip wheel" once, and it will then pick a single
version of requests that satisfies all constraints.

Fixes: 
2022-01-05 21:35:09 +02:00
Pēteris Caune
cb78bb02d3
Update Dockerfile to install everything from piwheels on arm/v7 2021-11-10 13:38:05 +02:00
Pēteris Caune
6ce002c064
Add libffi-dev in Dockerfile to fix cffi build 2021-11-10 13:12:00 +02:00
Pēteris Caune
b77c54f665
Update Dockerfile to install apprise
Fixes: 
2021-10-25 21:55:11 +03:00
Pēteris Caune
30a3482d0e
Fix missing uwsgi dependencies in arm/v7 Docker image 2021-10-13 10:43:04 +03:00
Pēteris Caune
1b0f5e92f1
Update Dockerfile to use the piwheels.org repo on armhf
cc: , 
2021-10-12 22:40:11 +03:00
Pēteris Caune
27da637e86
Fix Dockerfile to correctly build cryptography==35.0.0 on 32-bit arm
Fixes: 

Also, split Dockerfile into two stages, so rust
and other build dependencies don't end up in the final image.

Note cryptography has binary wheels for various architectures,
but unfortunately not for 32-bit arm. And, starting from v35.0.0,
cryptography requires rust to build from source.
2021-10-01 09:53:48 +03:00
Jake Howard
cd4cc1f2d9 Pin debian version to Buster
Bullseye isn't currently supported on the Pi 4
2021-10-01 08:47:05 +03:00
Jake Howard
7a5afc26be Install libpq-dev so psycopg2 can build correctly 2021-10-01 08:47:05 +03:00
Jake Howard
25da46f5b6 Use slim version of docker container
This massively reduces the size of the final container
2021-10-01 08:47:05 +03:00
Yann Papouin
b5fd5cfaed Fix db-data volume in docker-compose.yml
Use data folder otherwise a second volume is created that becomes orphaned after a docker-compose down.
2021-08-25 16:28:56 +03:00
Pēteris Caune
e6427995b7
Add Whitenoise and improve README
Fixes: 
2021-08-05 18:06:47 +03:00
Pēteris Caune
fd7ab5e767
Implement PagerDuty Simple Install Flow 2021-06-16 14:18:32 +03:00
Mathias Chevalier
a101b1de91 [DOCKER] Fix failing build on armhf, due to cryptography lib trying to build rust 2021-03-11 14:08:36 +02:00
Pēteris Caune
f06616a934
Add Python 3.9 to the testing matrix 2021-02-05 09:33:20 +02:00
Pēteris Caune
65ace8238a
Add the ZULIP_ENABLED setting 2021-02-03 09:11:32 +02:00
Pēteris Caune
e2c90c05b8
Add the VICTOROPS_ENABLED setting 2021-02-03 09:00:28 +02:00
Pēteris Caune
8811640d45
Add the SPIKE_ENABLED setting 2021-01-29 15:21:38 +02:00
Pēteris Caune
725be65bdd
Add the PROMETHEUS_ENABLED setting 2021-01-29 15:05:42 +02:00
Pēteris Caune
419d96da7a
Add the PAGERTREE_ENABLED setting 2021-01-29 14:21:02 +02:00
Pēteris Caune
28150e85fa
Add the PD_ENABLED setting 2021-01-29 14:06:40 +02:00
Pēteris Caune
8d5890d883
Add the OPSGENIE_ENABLED setting, rename OpsGenie -> Opsgenie 2021-01-29 13:47:13 +02:00
Pēteris Caune
5f31b8b873
Add the MSTEAMS_ENABLED setting 2021-01-29 13:20:44 +02:00