Add unsplash config
This commit is contained in:
parent
e2cac82cc5
commit
215e77dc8b
|
@ -2,7 +2,7 @@ service:
|
||||||
# This token is used to verify issued JWT tokens.
|
# This token is used to verify issued JWT tokens.
|
||||||
# Default is a random token which will be generated at each startup of vikunja.
|
# 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)
|
# (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 duration of the issed JWT tokens in seconds.
|
||||||
# The default is 259200 seconds (3 Days).
|
# The default is 259200 seconds (3 Days).
|
||||||
jwtttl: "{{ item.jwtttl | default(259200) }}"
|
jwtttl: "{{ item.jwtttl | default(259200) }}"
|
||||||
|
@ -72,7 +72,6 @@ database:
|
||||||
# Database to use
|
# Database to use
|
||||||
database: "{{ item.db_name | default("vikunja") }}"
|
database: "{{ item.db_name | default("vikunja") }}"
|
||||||
# When using sqlite, this is the path where to store the data
|
# When using sqlite, this is the path where to store the data
|
||||||
path: "./vikunja.db"
|
|
||||||
path: "{{ item.db_path | default("./vikunja.db") }}"
|
path: "{{ item.db_path | default("./vikunja.db") }}"
|
||||||
# Sets the max open connections to the database. Only used when using mysql and postgres.
|
# Sets the max open connections to the database. Only used when using mysql and postgres.
|
||||||
maxopenconnections: {{ item.db_maxconnections | default(100) }}
|
maxopenconnections: {{ item.db_maxconnections | default(100) }}
|
||||||
|
@ -247,15 +246,15 @@ backgrounds:
|
||||||
enabled: true
|
enabled: true
|
||||||
unsplash:
|
unsplash:
|
||||||
# Whether to enable setting backgrounds from unsplash as list backgrounds
|
# 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
|
# You need to create an application for your installation at https://unsplash.com/oauth/applications/new
|
||||||
# and set the access token below.
|
# 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.
|
# 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.
|
# 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
|
# It will only show in the UI if your application has been approved for Enterprise usage, therefore if
|
||||||
# you’re in Demo mode, you can also find the ID in the URL at the end: https://unsplash.com/oauth/applications/:application_id
|
# you’re 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
|
# Legal urls
|
||||||
# Will be shown in the frontend if configured here
|
# Will be shown in the frontend if configured here
|
||||||
|
|
Loading…
Reference in a new issue