Set parameters

This commit is contained in:
Adria Navarro 2023-01-23 16:53:34 +00:00
parent 106563c449
commit 98aa60879f
2 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,10 @@ module.exports = {
image: "budibase/dependencies",
tag: "latest",
ports: [6379, 5984, 9000],
env: {},
env: {
COUCHDB_USER: "test_couchdb_user",
COUCHDB_PASSWORD: "test_couchdb_password",
},
wait: {
type: "text",
text: "Test environment started...",

View File

@ -34,5 +34,5 @@ overrideConfigValue(
`http://localhost:${global.__TESTCONTAINERS_DEVENV_PORT_9000__}`
)
overrideConfigValue("COUCH_DB_USERNAME", "admin")
overrideConfigValue("COUCH_DB_PASSWORD", "admin")
overrideConfigValue("COUCH_DB_USERNAME", "test_couchdb_user")
overrideConfigValue("COUCH_DB_PASSWORD", "test_couchdb_password")