PhotosAPI/config_example.json

36 lines
936 B
JSON
Raw Normal View History

2022-12-20 02:22:32 +02:00
{
"database": {
"name": "photos",
"host": "127.0.0.1",
"port": 27017,
"user": null,
"password": null
},
2023-11-25 18:50:09 +02:00
"secret": "",
2022-12-20 02:22:32 +02:00
"messages": {
2023-02-16 15:54:49 +02:00
"email_confirmed": "Email confirmed. You can now log in."
2023-01-07 22:48:43 +02:00
},
"external_address": "localhost",
2023-02-18 12:07:46 +02:00
"media_token_access": false,
"media_token_valid_hours": 12,
2023-01-07 22:48:43 +02:00
"registration_enabled": true,
"registration_requires_confirmation": false,
2023-11-25 18:50:09 +02:00
"default_user_quota": 10000,
2023-01-07 22:48:43 +02:00
"mailer": {
"smtp": {
"host": "",
"port": 0,
"sender": "",
"login": "",
"password": "",
"use_ssl": true,
"use_tls": false
},
"messages": {
"registration_confirmation": {
"subject": "Email confirmation",
"message": "To confirm your email please follow this link: {0}"
}
}
2022-12-20 02:22:32 +02:00
}
}