Config
These are all the configuration options which can be set for the application.
amazon
Type: object
amazon.referral_tag
Type: string
Description: If set, this tag will be appended to all Amazon links and a note regarding this will be added beneath the link.
Examples:
"your-tag-20"
api_url
Type: string
Default: "http://localhost:3000"
Description: The URL of the API server.
cdn_url
Type: string
Description: The URL of the CDN server. If set the frontend will use this URL to load book covers instead of using the backend.
Examples:
"https://cdn.example.com"
cors
Type: string
Default: "*"
Description: The CORS policy which should be used by the server.
Examples:
"https://example.com"
"*"
"http://localhost:4200"
db
Type: object
db.url
Type: string
Default: "postgresql://uwu:owo@localhost:5432/mangalist?schema=public"
Description: The database connection string. This is used to connect to the database. Please note that the container also needs to have the correct environment variables set to be able execute the migrations.
debug
Type: object
Description: Some settings which are only useful for debugging. These settings should not be used in production as they can leak sensitive information and/or have a negative impact on the performance.
debug.always_regroup
Type: boolean
Default: false
Description: Always regroup the books when a request is made. This can be useful to test the regrouping logic.
debug.show_query
Type: boolean
Default: false
Description: Log all SQL queries to the console.
disable_registration
Type: boolean
Default: false
Description: Disable the registration of new users. This can be useful if you want to run the server in a private environment. Please note that this does not disable the registration of the first user.
geonode
Type: object
Description: GeoNode is a paid service which provides services usefull for crawling. Read more about why you should use GeoNode for Booklify here.
geonode.password
Type: string
Description: Your GeoNode API password.
Examples:
"00000000-0000-0000-0000-000000000000"