PhotosAPI/config_example.json

34 lines
884 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
},
"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": true,
"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
}
}