Alexander Trost
fecac8357d
Just a small change
2015-10-21 13:18:17 +02:00
Alexander Trost
b0855e33f9
Ain't nobody needs ntp and molly-guard in a container
2015-10-21 13:02:20 +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
6fc77ad243
Moved the includes/zulip-puppet to the repo root
2015-10-20 10:17:56 +02:00
Alexander Trost
3592466631
Added forgotten camo, rabbitmq container to the kubernetes deployment file
2015-10-20 10:15:58 +02:00
Alexander Trost
4fa5464ab8
Added kubernetes deployment files
...
Remove the file includes/zulip-puppet-config
2015-10-20 10:05:29 +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
3026de8df6
Added note about the puppet manifests originally taken from the zulip/zulip project
2015-10-19 23:45:12 +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
cd75ef7033
This should fix the problems with the automatic user creation
2015-10-19 18:43:20 +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
52505ce28a
We don't need two times sleep
2015-10-19 12:09:01 +02:00
Alexander Trost
3778eed191
This could potentially fix the user creation bug
2015-10-19 11:56:37 +02:00
Alexander Trost
fa68127de8
Removed the warning from the README.md
2015-10-18 23:55:07 +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
ba2aae7b48
This should finally fix the problems with the user creating
2015-10-18 23:31:33 +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
46f7c8d6b7
Fix for the zulip_postsetup
2015-10-18 21:32:49 +02:00
Alexander Trost
fa31f15d5b
Changed to the latest ubuntu
2015-10-18 20:57:19 +02:00
Alexander Trost
af5f5930d1
Changed the supervisor name from zulippostsetup to zulip_postsetup
2015-10-18 20:25:51 +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
d20b124072
Fixed the perms of generate_certs.sh script
2015-10-18 11:53:50 +02:00
Alexander Trost
4c57150511
Added a script to generate the certificates
2015-10-18 11:51:32 +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
821328a343
Added updated README.md
2015-10-18 01:47:35 +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
5261f6ad8a
Fixed the rabbitmq entry in the docker-compose.yml
2015-10-18 00:08:49 +02:00