Created
July 27, 2022 01:25
-
-
Save johnfelipe/f13acd55fa7ac731fbc4e6144842bd2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// use this host when debugging a data-fair inside a virtualbox vm | |
// in this case docker-compose.yml also needs a few modifications | |
// const host = '10.0.2.2' | |
const host = '192.168.0.19' | |
module.exports = { | |
port: 5600, | |
dataDir: './data/development', | |
publicUrl: `http://${host}:5600`, | |
wsPublicUrl: `ws://${host}:5600`, | |
directoryUrl: `http://${host}:5600/simple-directory`, | |
privateDirectoryUrl: 'http://localhost:5600/simple-directory', | |
openapiViewerUrl: `http://${host}:5600/openapi-viewer/`, | |
captureUrl: `http://${host}:5600/capture`, | |
privateCaptureUrl: 'http://localhost:8087', | |
notifyUrl: `http://${host}:5600/notify`, | |
privateNotifyUrl: 'http://localhost:8088', | |
notifyWSUrl: 'ws://localhost:8088', | |
// subscriptionUrl: 'https://staging-koumoul.com/s/customers/embed/subscription', | |
defaultLimits: { | |
totalStorage: 10000000000, | |
totalIndexed: 10000000000, | |
nbDatasets: 1000 | |
// datasetStorage: -1, | |
}, | |
locks: { | |
// in seconds | |
ttl: 4 | |
}, | |
/* For virtual box debugging | |
publicUrl: 'http://10.0.2.2:5600', | |
wsPublicUrl: 'ws://10.0.2.2:5600', | |
directoryUrl: 'https://staging.koumoul.com', | |
*/ | |
secretKeys: { | |
identities: 'dev_secret', | |
notifications: 'secret-notifications' | |
}, | |
cache: { | |
disabled: true | |
}, | |
worker: { | |
spawnTask: false | |
}, | |
browserLogLevel: 'debug', | |
remoteServices: [{ | |
title: 'Données Entreprises', | |
url: 'https://koumoul.com/s/sirene/api-docs.json' | |
}, { | |
title: 'Géocoder', | |
url: 'https://koumoul.com/s/geocoder/api/v1/api-docs.json' | |
}, { | |
title: 'Cadastre', | |
url: 'https://koumoul.com/s/cadastre/api-docs.json' | |
}, { | |
title: 'Divisions administratives', | |
url: 'https://koumoul.com/s/insee-mapping/api/v1/api-docs.json' | |
}, { | |
title: 'Service de données cartographiques', | |
url: 'https://koumoul.com/s/tileserver/api/v1/api-docs.json' | |
}], | |
catalogs: [{ | |
title: 'Data.gouv.fr', | |
href: 'https://www.data.gouv.fr' | |
}, { | |
title: 'Mydatacatalogue', | |
href: 'https://app.dawizz.fr/mydatacatalogue/' | |
}], | |
proxyNuxt: true, | |
extraNavigationItems: [{ id: 'test', title: { fr: 'Test', en: 'Test en' }, iframe: `http://${host}:5600/_dev/extra`, icon: 'mdi-link' }], | |
extraAdminNavigationItems: [{ id: 'test', title: { fr: 'Test admin', en: 'Test admin en' }, iframe: 'https://koumoul.com', icon: 'mdi-link' }], | |
disableSharing: false, | |
disableApplications: false, | |
disableRemoteServices: false, | |
elasticsearch: { | |
maxPageSize: 10000 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment