fixes
This commit is contained in:
parent
a5dc3921b5
commit
590e22b609
@ -34,6 +34,7 @@ RUN git clone -b stable https://github.com/taigaio/taiga-back.git taiga-back \
|
||||
&& virtualenv -p /usr/bin/python3.4 venvtaiga \
|
||||
&& . venvtaiga/bin/activate \
|
||||
&& cd taiga-back \
|
||||
&& pip3 install -U setuptools \
|
||||
&& pip3 install -r requirements.txt \
|
||||
&& deactivate
|
||||
|
||||
|
@ -119,7 +119,7 @@ This file defines individual settings for Taiga.
|
||||
**taiga.env**
|
||||
```
|
||||
GUNICORN_WORKERS=1
|
||||
SITE_URI=http://taiga.mydomain.com
|
||||
SITE_URI=http://taiga
|
||||
PUBLIC_REGISTER=true
|
||||
ADMIN_EMAIL=admin@mydomain.com
|
||||
NOREPLY_EMAIL=no-reply@mydomain.com
|
||||
|
3
launch
3
launch
@ -45,7 +45,8 @@ chmod +x /already_initialized
|
||||
unset DJANGO_SECRET_KEY TAIGA_DB_PASSWORD
|
||||
|
||||
# Make sure the dynamic data is writable by the circus/gunicorn
|
||||
chown -Rh $USER:$GROUP $DATA/media $DATA/taiga-back/taiga/locale $DATA/logs
|
||||
chown -Rh $USER:$GROUP $DATA/media $DATA/taiga-back/taiga/locale $DATA/logs \
|
||||
$DATA/static
|
||||
|
||||
# Make sure the PostgreSQL database is up and ready
|
||||
while ! ping -c 1 -W 1 $TAIGA_DB_HOST >/dev/null 2>&1; do
|
||||
|
@ -17,10 +17,16 @@ ADMINS = (
|
||||
|
||||
# THROTTLING (Anti-flood)
|
||||
REST_FRAMEWORK["DEFAULT_THROTTLE_RATES"] = {
|
||||
"anon": "20/min",
|
||||
"user": "200/min",
|
||||
"import-mode": "20/sec",
|
||||
"import-dump-mode": "10/minute"
|
||||
"anon-write": "20/min",
|
||||
"user-write": None,
|
||||
"anon-read": None,
|
||||
"user-read": None,
|
||||
"import-mode": None,
|
||||
"import-dump-mode": "10/minute",
|
||||
"create-memberships": None,
|
||||
"login-fail": "5/minute",
|
||||
"register-success": None,
|
||||
"user-detail": None,
|
||||
}
|
||||
|
||||
SECRET_KEY = "${DJANGO_SECRET_KEY}"
|
||||
|
Loading…
Reference in New Issue
Block a user