in-between-commit

Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
Nico Schottelius 2020-02-25 18:15:22 +01:00
parent cc9e5905eb
commit cc3d2f2d42
2 changed files with 4 additions and 0 deletions

View file

@ -39,6 +39,9 @@ Then create the database owner by the new role:
postgres=# create database uncloud owner nico; postgres=# create database uncloud owner nico;
``` ```
Installing the postgresql service is os dependent, but some hints:
* Alpine: `apk add postgresql-server && rc-update add postgresql && rc-service postgresql start`
### Secrets ### Secrets

View file

@ -142,6 +142,7 @@ AUTH_USER_MODEL = 'uncloud_auth.User'
# AUTH/REST # AUTH/REST
REST_FRAMEWORK = { REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [ 'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.SessionAuthentication',
] ]
} }