Commit Graph

46 Commits

Author SHA1 Message Date
swnf
5a6a1787cf Make gunicorn and nginx listen to IPv6 2023-11-06 18:01:53 +01:00
smilerz
225ddc8eeb
Update boot.sh
updated to handle postgres defined in database_url
2023-11-01 07:49:07 -05:00
smilerz
6680fbb644
changes to enable sqlite3 in docker container 2023-10-30 21:37:45 -05:00
John Karabudak
ccd0667f04 Added support for keeping SECRET_KEY and POSTGRES_PASSWORD in a file
This commit adds two optional environment variables:

- SECRET_KEY_FILE
- POSTGRES_PASSWORD_FILE

This change allows mounting secret data when running this in Docker Swarm, instead of having to hard-code it in our docker-compose file or provide it alongside all other environment variables.
2023-09-30 01:12:30 -02:30
Daniel Schulz
8b50b99977
make gunicorn log level setting available 2023-05-21 14:06:54 +02:00
vabene1111
12491d1302 changed gunicorn default settings 2022-09-21 20:17:00 +02:00
Szeraax
39f5fca89b
Update boot.sh
Set default value to 1 if null or unset for gunicorn workers/threads.
2022-09-21 11:06:55 -06:00
vabene1111
c7f75fe58f boot.sh 2022-08-05 17:55:25 +02:00
vabene1111
2eed5143fe boot.sh 2022-08-05 17:43:59 +02:00
vabene1111
6e4ea518d9 boot.sh 2022-08-05 17:36:00 +02:00
vabene1111
a898d722d6 fixed typo 2022-08-05 17:21:59 +02:00
vabene1111
904358bb00 allow changing gunicorn settings 2022-08-05 17:13:27 +02:00
MaxJa4
59d277da3d
Add POSTGRES_USER to psql health check during boot
Add POSTGRES_USER to psql health check during boot to support external psql instances better.

Fixes #1656
2022-03-20 00:08:41 +01:00
Raffael Theiler
581ee762b6
Update boot.sh
Add port to pg_isready to allow non-standard ports.
2022-03-03 19:27:51 +01:00
vabene1111
8d3419952c movbed pg password check 2022-03-02 13:11:52 +01:00
vabene1111
8010ee3dca logical fix 2022-03-02 12:22:54 +01:00
vabene1111
0f3d82a5e6 fixing boot script 2022-03-02 12:22:12 +01:00
MaxJa4
539578c965 Add check for SECRET_KEY and POSTGRES_PASSWORD 2022-02-16 18:57:25 +01:00
MaxJa4
b9f16c3f66
Inverted truth check for GUNICORN_MEDIA 2022-02-14 16:45:37 +01:00
MaxJa4
c90de725b0 Only show warning if not using gunicorn 2022-02-14 16:16:45 +01:00
MaxJa4
c0b43987dd Added extistence check for nginx config file. 2022-02-14 16:13:16 +01:00
vabene1111
b182a9962c
Merge branch 'develop' into develop 2022-02-11 09:17:31 +01:00
MaxJa4
45942dfa7f
Fixed indentation 2022-02-08 18:20:19 +01:00
MaxJa4
cb755a47bc
Remove wrong code comment 2022-02-08 18:19:32 +01:00
MaxJa4
a35aa953b4 Ping DB instead of trying migration 2022-02-08 18:15:04 +01:00
MaxJa4
20cc4b93a9
Add max amount of retries for web container boot 2022-02-07 18:13:19 +01:00
MaxJa4
fd5de4e47c
Included error code in log message 2022-02-06 19:22:46 +01:00
MaxJa4
bb131ef16a
Improved wording of log message upon retry 2022-02-06 19:12:52 +01:00
MaxJa4
773d2eff37 Moved db-waiting from docker-level to container-level 2022-02-06 18:54:42 +01:00
Christoph Schmatzler
a47d9d00fd
Allow specifying port through TANDOOR_PORT environment variable 2021-09-01 19:46:55 +02:00
vabene1111
486c871cb5 also revert boot script for now 2021-01-13 22:35:27 +01:00
vabene1111
642015b368 testing docker stuff 2021-01-13 22:17:40 +01:00
vabene1111
24ed6a1cd2 recipe stuff 2021-01-12 20:51:28 +01:00
vabene1111
ea30eb96cd changed up structure again 2021-01-04 23:40:58 +01:00
vabene1111
f8e2283a69 testing automatic creation of nginx config dir 2021-01-04 22:50:07 +01:00
vabene1111
d18a330135 reset log level 2020-06-16 19:56:42 +02:00
vabene1111
3b21e44422 log level debug 2020-06-16 18:57:08 +02:00
vabene1111
1a78ca68bb added access logging 2020-06-16 18:50:24 +02:00
vabene1111
fac7b8cd5b added gunicorn error logging 2020-06-16 18:43:16 +02:00
vabene1111
0684c47e2a addding missing cli flag to chmod 2020-06-03 21:52:42 +02:00
vabene1111
be52238413 boot script fix 2020-06-03 21:38:59 +02:00
vabene1111
a0332c432d moved permission fix to boot.sh 2020-06-03 21:31:56 +02:00
vabene1111
b538761746 run container as root for now
since i want to realease this we will for now continue to run this as root inside the containerr. this can be fixed later, PR's welcome
2020-03-26 18:20:44 +01:00
vabene1111
913d858473 updated boot script to fix permission 2020-03-25 22:30:44 +01:00
h4llow3En
1e3e03e4af
Simplify first user creation 2020-03-20 10:50:34 +01:00
h4llow3En
cc931189e8
Run as alpine docker image and server static files with gunicorn 2020-03-19 10:13:49 +01:00