Commit Graph

119 Commits

Author SHA1 Message Date
Alexander Trost
f07669881e Changed some output messages to be a bit more meaningful 2015-10-22 19:39:24 +02:00
Alexander Trost
3818a5a3ee Set default value for env var ZULIP_AUTO_GENERATE_CERTS 2015-10-22 18:48:33 +02:00
Alexander Trost
8a5aeb8011 Fixes to the entrypoint.sh 2015-10-22 17:53:57 +02:00
Alexander Trost
3adf602d09 Removed uneeded variable from entrypoint.sh 2015-10-22 16:42:34 +02:00
Alexander Trost
573bbee657 This fixes the change to zproject/settings.py 2015-10-22 16:36:35 +02:00
Alexander Trost
d116b77945 Added check for True or False in case for SET_SETTINGS 2015-10-22 16:10:46 +02:00
Alexander Trost
59fb721747 We now link /etc/zulip/settings.py to /data/zulip-settings.py 2015-10-22 15:27:32 +02:00
Alexander Trost
5f3ff5f0a9 Fixed a problem with the process_fts_updates script 2015-10-22 14:41:32 +02:00
Alexander Trost
254d643b44 Hotfix for static set ZULIP_AUTH_BACKENDS 2015-10-22 10:32:21 +02:00
Alexander Trost
84e7e91fc8 Changed the behaviour of ZULIP_AUTH_BACKENDS
ZULIP_AUTH_BACKENDS is now a comma seperated list with authentication backends
2015-10-22 10:22:55 +02:00
Alexander Trost
113b7d12c6 Cleaned up some functions
Added #24
2015-10-22 08:41:54 +02:00
Alexander Trost
7ec534f69e export of the ZULIP_USER_* env vars is needed in order for the user create script to function properply 2015-10-22 00:04:07 +02:00
Alexander Trost
4c7efdacb4 Changed AUTH_BACKEND_VAR to AUTH_BACKEND_KEY 2015-10-21 23:24:08 +02:00
Alexander Trost
e2b9dcef67 Fix for ZULIP_AUTH_BACKENDS_* settings 2015-10-21 23:23:08 +02:00
Alexander Trost
2478b5e948 More fixes for the env var setup 2015-10-21 22:33:18 +02:00
Alexander Trost
192793cf36 Several fixes for wrongly replaced env vars 2015-10-21 22:24:15 +02:00
Alexander Trost
8d356c343e Added node argument to rabbitmqctl commands 2015-10-21 22:11:39 +02:00
Alexander Trost
f2f5d1b871 Change RABBITMQ_PASSWORD settings var already in rabbitmq setup 2015-10-21 21:38:25 +02:00
Alexander Trost
edd5788cdd This should fix the problems with rabbitmq (+ rabbitmq setup) 2015-10-21 21:30:24 +02:00
Alexander Trost
1c983b88f2 Removed the dot from .zulip-secrets.conf 2015-10-21 18:09:18 +02:00
Alexander Trost
24baabd3cf This could fix the errors appearing in dev branch 2015-10-21 16:41:57 +02:00
Alexander Trost
08324662c5 Expect exitcode 200 from zulip_postsetup script so we know everythings okay 2015-10-21 15:47:12 +02:00
Alexander Trost
0be186ca11 Added some comments for documentation purpose 2015-10-21 15:32:12 +02:00
Alexander Trost
e31ae82235 Changed the *_PORT vars to *_HOST_PORT
Docker creates them by default, so we change this up
2015-10-21 15:23:55 +02:00
Alexander Trost
0dc25e2bc9 Fixes to the old veresion env vars 2015-10-21 15:06:18 +02:00
Alexander Trost
a6ca3a24cd Moved most env vars from Dockerfile to entrpoint.sh
A little bit of clean up for other versions of Zulip
2015-10-21 14:56:30 +02:00
Alexander Trost
ca3eeec66b Clean up the env vars
Fixed the checksum fail during build.
2015-10-21 14:47:46 +02:00
Alexander Trost
8bec64a6c6 Removed ZULIP_AUTO_GENERATE_CERTS env var override 2015-10-21 13:33:01 +02:00
Alexander Trost
fecac8357d Just a small change 2015-10-21 13:18:17 +02:00
Alexander Trost
7b452c6a1d Changed the postgres user back to the env var DB_USER 2015-10-21 12:47:04 +02:00
Alexander Trost
103aaf775f Removed the "IF NOT EXISTS" in the querys 2015-10-21 12:23:37 +02:00
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