diff --git a/templates/config.yml.j2 b/templates/config.yml.j2 index ea107e5..94549ec 100644 --- a/templates/config.yml.j2 +++ b/templates/config.yml.j2 @@ -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("")}}"; + JWTSecret: "{{ item.jwtsecret | default("")}}" # 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 # 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 # Will be shown in the frontend if configured here