Commit graph

15 commits

Author SHA1 Message Date
Glandos
5f4f69bc6c
Convert MAIL_DEFAULT_SENDER to a string (#1007)
Fixes #1005
2022-04-07 21:15:48 +02:00
Peter Maksymowsky
a5452ccee5
Display admin email in error message for password reminder (#965)
Co-authored-by: Glandos <bugs-github@antipoul.fr>
2022-01-30 15:33:54 +01:00
Youe Graillot
db1379be34
Legal link fixes (#950)
* fix default legal link value in docker

* fix footer-right overflow
2021-11-28 18:45:45 +01:00
Youe Graillot
acb2799575
Production ready docker (#919)
* /healthcheck endpoint usefull for monitoring, ci test also uses this
* customizable PORT with environment variable
* customizable PUID/PGID, reduce attack surface and allow better integration in rootless environments
* size optimization
* update to python 3.10
* add postgresql compatibility
* PUID/PGID default as root to not break current user environments
2021-11-25 08:23:23 +01:00
Baptiste Jonglez
68a4aa05e8 Add missing configuration variables (ENABLE_CAPTCHA and LEGAL_LINK) 2021-10-26 23:46:27 +02:00
Youe Graillot
ec0a3aa070
Fix docker image and docker image test (#852)
* Github Action build and push to dockerhub

* CI updates docker description

* Convert rst readme to markdown

* Update CONTRIBUTORS

* Revert "CI updates docker description"

This reverts commit 33e2e7b5c2.

* Revert "Convert rst readme to markdown"

This reverts commit dc25f8dbe4.

* CI deploy on master branch

* CI test image

* Fix empty SESSION_COOKIE_SECURE

* Dockerfile : sanitize ENV

* entrypoint.sh : sort

* docker-compose.yml

* CI test with docker compose

* CI reorganize

* Default SESSION_COOKIE_SECURE to True

* Add some comments for readability.

Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2021-10-17 16:21:42 +02:00
Raju Subramanian
942617a436 Change Dockerfile to compile python dependencies at build time.
- Updated entrypoint.sh
- Updated docs for running with Docker
- Added .dockerignore
2021-07-14 18:01:34 +02:00
ToadCast
deb7a12102
disable greenlet c++ test to avoid error "Failed building wheel for greenlet" on issue #726 (#727) 2021-04-10 22:31:26 +02:00
Norman
99cdfa5a80
Add BABEL_DEFAULT_TIMEZONE to docker entryfile.sh (#714)
* Set a default timezone to UTC for docker
2021-02-04 23:31:45 +01:00
Benjamin Bouvier
9a889f61c7 [docker] Download IHM from Pypy or reference git repo;
This creates two modes to run the Docker image:
- either in non-NIGHTLY mode, the latest version will be installed from
pypy.
- or in Nightly mode, it will clone the repository and update it every
time the instance is restarted.

It also updates Python to 3.7, for additional goodness.
2019-07-31 13:02:03 +02:00
mcnesium
cdbcd763ef update apk before installing dependencies (#398) 2018-12-25 16:58:15 +01:00
Carey Metcalfe
94e2befb82 Fix cffi installation in Dockerfile (#364)
The Python cffi package requires the libc, libffi and openssl
development packages, as well as gcc to compile it.
2018-08-03 17:11:12 +02:00
0livd
225849ac71 Docker: Fix gunicorn not using ihm system package (#320)
Fixes #319
2018-02-07 09:37:49 +01:00
0livd
d9471733f8 Fix some anti patterns in docker deployment (#321)
- Use exec to run gunicorn and avoid creating a new process.
- Add the possibility to pass any additional parameters to
gunicorn.
- Use only one gunicorn worker by default as the usual way to
scale the app in production would be to use the scale command
of the cluster scheduler. Additional workers could still be
added by passing the "-w" gunicorn parameter to docker run.
2018-02-07 09:37:21 +01:00
0livd
b4961f646a Add a DockerFile (#272)
Can be used to deploy the latest version from
PyPI in a production environment or from the
master branch in a dev environment.
2017-10-25 23:37:55 +02:00