1
0
Fork 0
mirror of synced 2024-06-30 20:10:54 +12:00

Better CouchDB config passing.

This commit is contained in:
Sam Rose 2024-03-26 09:58:40 +00:00
parent d85db6b8fe
commit e5c7e653e4
No known key found for this signature in database
2 changed files with 6 additions and 4 deletions

View file

@ -7,9 +7,12 @@ export default async function setup() {
COUCHDB_PASSWORD: "budibase",
COUCHDB_USER: "budibase",
})
.withCopyFilesToContainer([
.withCopyContentToContainer([
{
source: "./test-couchdb.ini",
content: `
[log]
level = warn
`,
target: "/opt/couchdb/etc/local.d/test-couchdb.ini",
},
])
@ -20,6 +23,7 @@ export default async function setup() {
)
.start()
// @ts-ignore
// eslint-disable-next-line no-undef
globalThis.__COUCHDB_CONTAINER_ID__ = container.getId()
}

View file

@ -1,2 +0,0 @@
[log]
level = warn