Update Docker configuration for test environment and add logging server
This commit is contained in:
parent
0764ca9bde
commit
dc65836b8b
5 changed files with 20 additions and 9 deletions
117
tests/docker/coffee/config/socialbox.conf
Executable file
117
tests/docker/coffee/config/socialbox.conf
Executable file
|
@ -0,0 +1,117 @@
|
|||
{
|
||||
"instance": {
|
||||
"enabled": true,
|
||||
"name": "coffee",
|
||||
"domain": "coffee.com",
|
||||
"rpc_endpoint": "http://coffee_socialbox:8085/",
|
||||
"dns_mocks": {
|
||||
"teapot.com": "v=socialbox;sb-rpc=http://teapot_socialbox:8085/;sb-key=sig:MDXUuripAo_IAv-EZTEoFhpIdhsXxfMLNunSnQzxYiY;sb-exp=0",
|
||||
"coffee.com": "v=socialbox;sb-rpc=http://coffee_socialbox:8085/;sb-key=sig:g59Cf8j1wmQmRg1MkveYbpdiZ-1-_hFU9eRRJmQAwmc;sb-exp=0"
|
||||
}
|
||||
},
|
||||
"security": {
|
||||
"display_internal_exceptions": true,
|
||||
"resolved_servers_ttl": 600,
|
||||
"captcha_ttl": 200,
|
||||
"otp_secret_key_length": 32,
|
||||
"otp_time_step": 30,
|
||||
"otp_digits": 6,
|
||||
"otp_hash_algorithm": "sha512",
|
||||
"otp_window": 1
|
||||
},
|
||||
"cryptography": {
|
||||
"host_keypair_expires": 0,
|
||||
"host_public_key": "sig:g59Cf8j1wmQmRg1MkveYbpdiZ-1-_hFU9eRRJmQAwmc",
|
||||
"host_private_key": "sig:tTVe59Ko5XuwgS8PneR92FAOqbgSHTKYn8U-lQRB9KODn0J_yPXCZCZGDUyS95hul2Jn7X7-EVT15FEmZADCZw",
|
||||
"internal_encryption_keys": [
|
||||
"c2cpdTkYqIWI93cJPpAuCsoQJcHi9l37lYHA2TpUo9A",
|
||||
"XUuWyWcKmtCUNVZ7Y0ZDbCE72klHZIniRihIIo78Vbs",
|
||||
"SGg4GM_0-hO95Q6hBq2UjzGrp9mhVHyklNTHo-OZSNw",
|
||||
"43WrkV6rDyc04S41E4uwJ1nQFhlll_CflsPW_hMOiqE",
|
||||
"QDh9KecIdU-6be5ScPagL_WrWp8hQAersLQvLv9YtNQ",
|
||||
"z4SnLU9Xw9F3yjPH_TmV4HuvZrpaVE0bqxzUGHyXQ-k",
|
||||
"vg7lWOzkL_59u3o2RKcdrdwc7KVh07NrZRQzBPoJXEU",
|
||||
"UW6X3XGGLj_e8xYd1bUwX9KYPTczHFtYTmy4FfiqfG0",
|
||||
"sh-sRIQ3lWgkqR87wcTtZkDrgDKY2FOLuzdtpAvi9Wg",
|
||||
"SDweTV1kNH0s5Ah1pwbfDo3ThAXAVKo9qJ4V9-hsHIs"
|
||||
],
|
||||
"encryption_keys_count": 10,
|
||||
"encryption_keys_algorithm": "xchacha20",
|
||||
"transport_encryption_algorithm": "chacha20"
|
||||
},
|
||||
"database": {
|
||||
"host": "coffee_mariadb",
|
||||
"port": 0,
|
||||
"username": "socialbox",
|
||||
"password": "socialbox",
|
||||
"name": "socialbox"
|
||||
},
|
||||
"logging": {
|
||||
"console_logging_enabled": true,
|
||||
"console_logging_level": "info",
|
||||
"file_logging_enabled": true,
|
||||
"file_logging_level": "debug"
|
||||
},
|
||||
"cache": {
|
||||
"enabled": true,
|
||||
"engine": "redis",
|
||||
"host": "coffee_redis",
|
||||
"port": 6379,
|
||||
"username": "root",
|
||||
"password": "root",
|
||||
"database": "0",
|
||||
"sessions": {
|
||||
"enabled": true,
|
||||
"ttl": 3600,
|
||||
"max": 1000
|
||||
}
|
||||
},
|
||||
"registration": {
|
||||
"enabled": true,
|
||||
"privacy_policy_document": null,
|
||||
"privacy_policy_date": 1734985525,
|
||||
"accept_privacy_policy": false,
|
||||
"terms_of_service_document": null,
|
||||
"terms_of_service_date": 1734985525,
|
||||
"accept_terms_of_service": false,
|
||||
"community_guidelines_document": null,
|
||||
"community_guidelines_date": 1734985525,
|
||||
"accept_community_guidelines": false,
|
||||
"password_required": true,
|
||||
"otp_required": false,
|
||||
"display_name_required": true,
|
||||
"display_picture_required": false,
|
||||
"email_address_required": false,
|
||||
"phone_number_required": false,
|
||||
"birthday_required": false,
|
||||
"image_captcha_verification_required": false,
|
||||
"first_name_required": false,
|
||||
"middle_name_required": false,
|
||||
"last_name_required": false,
|
||||
"url_required": false
|
||||
},
|
||||
"authentication": {
|
||||
"enabled": true,
|
||||
"image_captcha_verification_required": true
|
||||
},
|
||||
"policies": {
|
||||
"max_signing_keys": 20,
|
||||
"session_inactivity_expires": 43200,
|
||||
"image_captcha_expires": 300,
|
||||
"peer_sync_interval": 3600,
|
||||
"get_contacts_limit": 100,
|
||||
"default_display_picture_privacy": "PUBLIC",
|
||||
"default_first_name_privacy": "CONTACTS",
|
||||
"default_middle_name_privacy": "PRIVATE",
|
||||
"default_last_name_privacy": "PRIVATE",
|
||||
"default_email_address_privacy": "CONTACTS",
|
||||
"default_phone_number_privacy": "CONTACTS",
|
||||
"default_birthday_privacy": "PRIVATE",
|
||||
"default_url_privacy": "PUBLIC"
|
||||
},
|
||||
"storage": {
|
||||
"path": "/etc/socialbox",
|
||||
"user_display_images_path": "user_profiles",
|
||||
"user_display_images_max_size": 3145728
|
||||
}
|
||||
}
|
117
tests/docker/teapot/config/socialbox.conf
Executable file
117
tests/docker/teapot/config/socialbox.conf
Executable file
|
@ -0,0 +1,117 @@
|
|||
{
|
||||
"instance": {
|
||||
"enabled": true,
|
||||
"name": "teapot",
|
||||
"domain": "teapot.com",
|
||||
"rpc_endpoint": "http://teapot_socialbox:8085/",
|
||||
"dns_mocks": {
|
||||
"teapot.com": "v=socialbox;sb-rpc=http://teapot_socialbox:8085/;sb-key=sig:MDXUuripAo_IAv-EZTEoFhpIdhsXxfMLNunSnQzxYiY;sb-exp=0",
|
||||
"coffee.com": "v=socialbox;sb-rpc=http://coffee_socialbox:8085/;sb-key=sig:g59Cf8j1wmQmRg1MkveYbpdiZ-1-_hFU9eRRJmQAwmc;sb-exp=0"
|
||||
}
|
||||
},
|
||||
"security": {
|
||||
"display_internal_exceptions": true,
|
||||
"resolved_servers_ttl": 600,
|
||||
"captcha_ttl": 200,
|
||||
"otp_secret_key_length": 32,
|
||||
"otp_time_step": 30,
|
||||
"otp_digits": 6,
|
||||
"otp_hash_algorithm": "sha512",
|
||||
"otp_window": 1
|
||||
},
|
||||
"cryptography": {
|
||||
"host_keypair_expires": 0,
|
||||
"host_public_key": "sig:MDXUuripAo_IAv-EZTEoFhpIdhsXxfMLNunSnQzxYiY",
|
||||
"host_private_key": "sig:kPfGxpsnisJIp5pKuD1AI7-T1bLk1S-EGOr7jBq5AO4wNdS6uKkCj8gC_4RlMSgWGkh2GxfF8ws26dKdDPFiJg",
|
||||
"internal_encryption_keys": [
|
||||
"ql5xP8OmKbSm_Fj4uz28aJ2Dpxdpg994Ker9Yp6eWVc",
|
||||
"1mbn_MrV_XlPG7bqTrLXHd8H9bBUN27Rm-oIZmldOYQ",
|
||||
"PL5YB2_C3I3gZAzrA2AP37tZKPsM5BQg0RH7LAgREGs",
|
||||
"VEU4sF9v3AzDKEBLEJCbhirERouNdvMjGBoLLn0A9M4",
|
||||
"5HeBwyDdUh8rbF5EKM9rQ0uU8PyzMIljoGKnn9CPk1U",
|
||||
"YOGrfjs2dYnf7OL6FLhCMmfig-xCHNjGF7Gny7DisEQ",
|
||||
"N-ouk7GBRqn1wLXtJ7BCcE5kPh4X0kgHuKzgOJ6i3Oo",
|
||||
"bTo0YnNOVB4XtqiFpSx9kRaufDRDoYt6or-MRodngWQ",
|
||||
"HTAvX3Nnf61-UOFQYcJOqfGcJVps_EOxo7KUf5Z0Zk0",
|
||||
"UelTVnfWENEZEt6a7j5jxWq_pXWZ4X9pF8lOrdb6PKc"
|
||||
],
|
||||
"encryption_keys_count": 10,
|
||||
"encryption_keys_algorithm": "xchacha20",
|
||||
"transport_encryption_algorithm": "chacha20"
|
||||
},
|
||||
"database": {
|
||||
"host": "teapot_mariadb",
|
||||
"port": 0,
|
||||
"username": "socialbox",
|
||||
"password": "socialbox",
|
||||
"name": "socialbox"
|
||||
},
|
||||
"logging": {
|
||||
"console_logging_enabled": true,
|
||||
"console_logging_level": "info",
|
||||
"file_logging_enabled": true,
|
||||
"file_logging_level": "debug"
|
||||
},
|
||||
"cache": {
|
||||
"enabled": true,
|
||||
"engine": "redis",
|
||||
"host": "teapot_redis",
|
||||
"port": 6379,
|
||||
"username": "root",
|
||||
"password": "root",
|
||||
"database": "0",
|
||||
"sessions": {
|
||||
"enabled": true,
|
||||
"ttl": 3600,
|
||||
"max": 1000
|
||||
}
|
||||
},
|
||||
"registration": {
|
||||
"enabled": true,
|
||||
"privacy_policy_document": null,
|
||||
"privacy_policy_date": 1734985525,
|
||||
"accept_privacy_policy": false,
|
||||
"terms_of_service_document": null,
|
||||
"terms_of_service_date": 1734985525,
|
||||
"accept_terms_of_service": false,
|
||||
"community_guidelines_document": null,
|
||||
"community_guidelines_date": 1734985525,
|
||||
"accept_community_guidelines": false,
|
||||
"password_required": true,
|
||||
"otp_required": false,
|
||||
"display_name_required": true,
|
||||
"display_picture_required": false,
|
||||
"email_address_required": false,
|
||||
"phone_number_required": false,
|
||||
"birthday_required": false,
|
||||
"image_captcha_verification_required": false,
|
||||
"first_name_required": false,
|
||||
"middle_name_required": false,
|
||||
"last_name_required": false,
|
||||
"url_required": false
|
||||
},
|
||||
"authentication": {
|
||||
"enabled": true,
|
||||
"image_captcha_verification_required": true
|
||||
},
|
||||
"policies": {
|
||||
"max_signing_keys": 20,
|
||||
"session_inactivity_expires": 43200,
|
||||
"image_captcha_expires": 300,
|
||||
"peer_sync_interval": 3600,
|
||||
"get_contacts_limit": 100,
|
||||
"default_display_picture_privacy": "PUBLIC",
|
||||
"default_first_name_privacy": "CONTACTS",
|
||||
"default_middle_name_privacy": "PRIVATE",
|
||||
"default_last_name_privacy": "PRIVATE",
|
||||
"default_email_address_privacy": "CONTACTS",
|
||||
"default_phone_number_privacy": "CONTACTS",
|
||||
"default_birthday_privacy": "PRIVATE",
|
||||
"default_url_privacy": "PUBLIC"
|
||||
},
|
||||
"storage": {
|
||||
"path": "/etc/socialbox",
|
||||
"user_display_images_path": "user_profiles",
|
||||
"user_display_images_max_size": 3145728
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue