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 \
|
&& virtualenv -p /usr/bin/python3.4 venvtaiga \
|
||||||
&& . venvtaiga/bin/activate \
|
&& . venvtaiga/bin/activate \
|
||||||
&& cd taiga-back \
|
&& cd taiga-back \
|
||||||
|
&& pip3 install -U setuptools \
|
||||||
&& pip3 install -r requirements.txt \
|
&& pip3 install -r requirements.txt \
|
||||||
&& deactivate
|
&& deactivate
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ This file defines individual settings for Taiga.
|
|||||||
**taiga.env**
|
**taiga.env**
|
||||||
```
|
```
|
||||||
GUNICORN_WORKERS=1
|
GUNICORN_WORKERS=1
|
||||||
SITE_URI=http://taiga.mydomain.com
|
SITE_URI=http://taiga
|
||||||
PUBLIC_REGISTER=true
|
PUBLIC_REGISTER=true
|
||||||
ADMIN_EMAIL=admin@mydomain.com
|
ADMIN_EMAIL=admin@mydomain.com
|
||||||
NOREPLY_EMAIL=no-reply@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
|
unset DJANGO_SECRET_KEY TAIGA_DB_PASSWORD
|
||||||
|
|
||||||
# Make sure the dynamic data is writable by the circus/gunicorn
|
# 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
|
# Make sure the PostgreSQL database is up and ready
|
||||||
while ! ping -c 1 -W 1 $TAIGA_DB_HOST >/dev/null 2>&1; do
|
while ! ping -c 1 -W 1 $TAIGA_DB_HOST >/dev/null 2>&1; do
|
||||||
|
@ -17,10 +17,16 @@ ADMINS = (
|
|||||||
|
|
||||||
# THROTTLING (Anti-flood)
|
# THROTTLING (Anti-flood)
|
||||||
REST_FRAMEWORK["DEFAULT_THROTTLE_RATES"] = {
|
REST_FRAMEWORK["DEFAULT_THROTTLE_RATES"] = {
|
||||||
"anon": "20/min",
|
"anon-write": "20/min",
|
||||||
"user": "200/min",
|
"user-write": None,
|
||||||
"import-mode": "20/sec",
|
"anon-read": None,
|
||||||
"import-dump-mode": "10/minute"
|
"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}"
|
SECRET_KEY = "${DJANGO_SECRET_KEY}"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
GUNICORN_WORKERS=1
|
GUNICORN_WORKERS=1
|
||||||
SITE_URI=http://taiga.mydomain.com
|
SITE_URI=http://taiga
|
||||||
PUBLIC_REGISTER=true
|
PUBLIC_REGISTER=true
|
||||||
ADMIN_EMAIL=admin@mydomain.com
|
ADMIN_EMAIL=admin@mydomain.com
|
||||||
NOREPLY_EMAIL=no-reply@mydomain.com
|
NOREPLY_EMAIL=no-reply@mydomain.com
|
||||||
|
Loading…
Reference in New Issue
Block a user