Ghost/core/shared/config/env/config.testing.json
Naz 3b390639c4 Introduced booting from fixture url cache in test environment
refs https://github.com/TryGhost/Toolbox/issues/135

- To be able to reliably start ghost instance without a frontend the process needs access to urls/resources caches
- Storing the configuration in "paths" for now as there's no better place for it untill we are able to mock the content folder in pre-boot
2021-11-22 21:56:32 +13:00

58 lines
1.3 KiB
JSON

{
"url": "http://127.0.0.1:2369",
"database": {
"client": "sqlite3",
"connection": {
"filename": "/tmp/ghost-test.db"
},
"useNullAsDefault": true,
"debug": false
},
"server": {
"port": 2369
},
"logging": {
"level": "fatal"
},
"spam": {
"user_login": {
"minWait": 600000,
"maxWait": 604800000,
"freeRetries": 3
},
"user_reset": {
"minWait": 3600000,
"maxWait": 3600000,
"lifetime": 3600,
"freeRetries": 4
},
"global_reset": {
"minWait": 3600000,
"maxWait": 3600000,
"lifetime": 3600,
"freeRetries":4
},
"global_block": {
"minWait": 3600000,
"maxWait": 3600000,
"lifetime": 3600,
"freeRetries":4
},
"private_block": {
"minWait": 3600000,
"maxWait": 3600000,
"lifetime": 3600,
"freeRetries":99
}
},
"privacy": {
"useTinfoil": true,
"useStructuredData": true
},
"useMinFiles": false,
"paths": {
"fixtures": "test/utils/fixtures/fixtures",
"urlCache": "test/utils/fixtures/urls"
}
}