Add unsplash config

This commit is contained in:
Dryusdan 2023-02-07 10:38:19 +01:00
parent e2cac82cc5
commit 215e77dc8b
1 changed files with 4 additions and 5 deletions

View File

@ -2,7 +2,7 @@ service:
# This token is used to verify issued JWT tokens.
# Default is a random token which will be generated at each startup of vikunja.
# (This means all already issued tokens will be invalid once you restart vikunja)
JWTSecret: "{{ item.jwtsecret | default("<jwt-secret>")}}";
JWTSecret: "{{ item.jwtsecret | default("<jwt-secret>")}}"
# The duration of the issed JWT tokens in seconds.
# The default is 259200 seconds (3 Days).
jwtttl: "{{ item.jwtttl | default(259200) }}"
@ -72,7 +72,6 @@ database:
# Database to use
database: "{{ item.db_name | default("vikunja") }}"
# When using sqlite, this is the path where to store the data
path: "./vikunja.db"
path: "{{ item.db_path | default("./vikunja.db") }}"
# Sets the max open connections to the database. Only used when using mysql and postgres.
maxopenconnections: {{ item.db_maxconnections | default(100) }}
@ -247,15 +246,15 @@ backgrounds:
enabled: true
unsplash:
# Whether to enable setting backgrounds from unsplash as list backgrounds
enabled: false
enabled: {{ item.unsplash_enabled | default("false") }}
# You need to create an application for your installation at https://unsplash.com/oauth/applications/new
# and set the access token below.
accesstoken:
accesstoken: {{ item.unsplash_accesstoken | default() }}
# The unsplash application id is only used for pingback and required as per their api guidelines.
# You can find the Application ID in the dashboard for your API application. It should be a numeric ID.
# It will only show in the UI if your application has been approved for Enterprise usage, therefore if
# youre in Demo mode, you can also find the ID in the URL at the end: https://unsplash.com/oauth/applications/:application_id
applicationid:
applicationid: {{ item.unsplash_applicationid | default () }}
# Legal urls
# Will be shown in the frontend if configured here