2022-05-03 23:58:19 +02:00
|
|
|
import env from "../src/environment"
|
2022-04-11 15:39:31 +02:00
|
|
|
|
2023-01-27 12:43:36 +01:00
|
|
|
const globalSafe = global as any
|
2022-11-16 14:06:30 +01:00
|
|
|
|
2023-01-27 12:43:36 +01:00
|
|
|
env._set("COUCH_DB_PORT", globalSafe.__TESTCONTAINERS_DEVENV_PORT_5984__)
|
|
|
|
env._set(
|
|
|
|
"COUCH_DB_URL",
|
|
|
|
`http://${globalSafe.__TESTCONTAINERS_DEVENV_IP__}:${globalSafe.__TESTCONTAINERS_DEVENV_PORT_5984__}`
|
|
|
|
)
|
2021-07-15 13:55:35 +02:00
|
|
|
|
2023-01-27 12:43:36 +01:00
|
|
|
env._set(
|
|
|
|
"MINIO_URL",
|
|
|
|
`http://${globalSafe.__TESTCONTAINERS_DEVENV_IP__}:${globalSafe.__TESTCONTAINERS_DEVENV_PORT_9000__}`
|
|
|
|
)
|