Commit Graph

238 Commits

Author SHA1 Message Date
Alexander Trost
e902dd5605 Fixed the "CREATE DATABASE zulip" query 2015-10-21 10:23:07 +02:00
Alexander Trost
e3accd1f7d Changed echo """ to echo " 2015-10-21 09:14:46 +02:00
Alexander Trost
1e9c32c1af Changed $DB_USER to postgres root in querys
Some querys have to be made as postgres user (aka root)
2015-10-21 09:11:56 +02:00
Alexander Trost
fb29a6b279 Added IF NOT EXISTS to querys 2015-10-21 09:07:26 +02:00
Alexander Trost
477f3b1acc Added ZULIP_CERTIFICATE_C/ST/L/O/CN env vars to support easier cert creation 2015-10-20 19:17:35 +02:00
Alexander Trost
db9492e9af Added auto generation of certificates
Env var ZULIP_AUTO_GENERATE_CERTS is enabled by default, but will not overwrite your own certs!
ZULIP_AUTO_GENERATE_CERTS is "True" by default, to make the setup easier.
2015-10-20 19:10:40 +02:00
Alexander Trost
b2775d51b6 Supress errors from rabbitmqctl
Errors from rabbitmqctl are just a bit spammy and not needed.
2015-10-20 18:28:17 +02:00
Alexander Trost
c5ea46217c Stop shellcheck from showing an error here 2015-10-20 09:20:15 +02:00
Alexander Trost
c5814b619b Added manage.py execution case 2015-10-20 08:09:40 +02:00
Alexander Trost
4edf2e0468 Removed the includes/postgresql-9.3-tsearch-extras folder (not needed anymore)
Some small changes to the entrypoint.sh
2015-10-19 23:10:50 +02:00
Alexander Trost
a94ad02096 Fixes over fixes for the ZULIP_SECRETS_* 2015-10-19 22:58:06 +02:00
Alexander Trost
b617f0fab2 Remove all .zulip-* files before creating the new version file 2015-10-19 17:22:22 +02:00
Alexander Trost
b085e36fae Moved some stuff around in the entrypoint.sh
Removed the "copy settings.py" env var
2015-10-18 23:41:15 +02:00
Alexander Trost
32991a5a9b This should fix the uploads directory permission errors 2015-10-18 23:34:05 +02:00
Alexander Trost
0e61ffda22 Changes to the Zulip Post setup script
Fixes to the entrypoint.sh
2015-10-18 22:58:46 +02:00
Alexander Trost
a0c69768f4 Fixes for the entrypoint.sh 2015-10-18 19:38:28 +02:00
Alexander Trost
adcbe1687a Moved the create user functions to an external script
It's dumb to create an user when the system isn't up yet..
2015-10-18 19:36:32 +02:00
Alexander Trost
fb6888accf Ignore errors from create_user command 2015-10-18 18:52:41 +02:00
Alexander Trost
e7de0595d3 Fix for the "manage.py create_user ..." execution 2015-10-18 18:28:12 +02:00
Alexander Trost
97259960f0 Fix the new user creation and changepassword thingy 2015-10-18 17:58:15 +02:00
Alexander Trost
5ea8c82fb3 Fixed the AUTHENTICATION_BACKENDS setup 2015-10-18 16:52:20 +02:00
Alexander Trost
40c5208adb Fix the setup of the Authentication backends 2015-10-18 15:03:26 +02:00
Alexander Trost
61b3755213 I changed something so I commit it 2015-10-18 14:52:06 +02:00
Alexander Trost
8b21395b9b Added ZULIP_AUTHENTICATION_BACKENDS_* vars
Changed [ -f ...] to [ -e ...]
2015-10-18 13:43:05 +02:00
Alexander Trost
7a083d7ce2 Don't exit when there is no $DATA_DIR/certs folder 2015-10-18 11:57:48 +02:00
Alexander Trost
bed81492c6 Create the certs directory when it doesn't exists 2015-10-18 11:56:03 +02:00
Alexander Trost
0f865c1a19 Added checks for the missing certificates
This should fix the nginx and cron supervisor "jobs"
2015-10-18 11:46:00 +02:00
Alexander Trost
ef61cfb93f Replaced all 2 space intents with 4 space intents 2015-10-18 01:31:51 +02:00
Alexander Trost
c9be5868d3 Fixes to the process_fts_updates
Added nginx.conf for supervisord
2015-10-18 01:26:58 +02:00
Alexander Trost
2339075d38 Fixes for the entrypoint.sh 2015-10-18 00:31:53 +02:00
Alexander Trost
42bc4bc1c0 Fixes for the RABBITMQ_HOST 2015-10-12 12:24:48 +02:00
Alexander Trost
6bc34d68d2 Remove the rabbitmq-server supervisord file
This should "add" the RABBITMQ_HOST var support
2015-10-12 12:22:36 +02:00
Alexander Trost
ff4198a724 Fixed the waiting for database server loop 2015-10-11 21:34:39 +02:00
Alexander Trost
98f67bba76 Added postgres textsearch dictionarys
Added wait function for database
2015-10-11 19:53:16 +02:00
Alexander Trost
f9b0b28ec6 More fixes for the entrypoint.sh 2015-10-11 04:51:16 +02:00
Alexander Trost
f8a6062216 Some general fixes 2015-10-11 04:29:49 +02:00
Alexander Trost
99f8f1564a Added missing env vars to docker-compose.yml 2015-10-11 03:58:21 +02:00
Alexander Trost
952ce59c1f Fix for sed not working correctly 2015-10-10 23:09:16 +02:00
Alexander Trost
ddb1d7438c Fixed some stuff in th entrypoint.sh 2015-10-10 22:56:05 +02:00
Alexander Trost
8cffb1d3a2 Fixed some errors related to the entrypoint.sh 2015-10-10 15:59:30 +02:00
Alexander Trost
917e5a811a Added check if we need to sed or echo add it 2015-10-09 16:28:42 +02:00
Alexander Trost
8c73c5c4cb Changed the function names 2015-10-09 15:05:23 +02:00
Alexander Trost
0eb8a1dff1 Modify secret if it exists 2015-10-09 11:51:07 +02:00
Alexander Trost
e0e3de854d Removed the comment with the regex 2015-10-09 10:53:50 +02:00
Alexander Trost
17c9e6b5fd Made the POSSIBLE_SETTINGS array multi line 2015-10-09 10:29:12 +02:00
Alexander Trost
d8609e0937 Cat the zulip settings file for testing purpose 2015-10-08 23:15:44 +02:00
Alexander Trost
157b3c1549 Fixed the case statement
Fixes for the database-data-setup function
2015-10-08 23:12:33 +02:00
Alexander Trost
20dbd2c681 Changed the zulip/zulip functions comment a bit 2015-10-08 18:49:05 +02:00
Alexander Trost
c787bdf65a Fixed wrong case statement
Added default for REDIS_* case
2015-10-08 17:44:27 +02:00
Alexander Trost
3a03f44756 Added True False matching to REDDIT_RATE_LIMITING 2015-10-08 17:32:11 +02:00