Skip to content

Commit 1177340

Browse files
authored
Document the environment variable pass-through prefix option introduced by #382 (#395)
1 parent 38dfe7b commit 1177340

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ options will work, so to just run 1 named test and include a timeout for the tes
3636
$ COMPLEMENT_BASE_IMAGE=complement-dendrite:latest go test -timeout 30s -run '^(TestOutboundFederationSend)$' -v ./tests/...
3737
```
3838

39+
If you need to pass environment variables to the image under test, you can:
40+
1. define a pass-through prefix with e.g. `COMPLEMENT_SHARE_ENV_PREFIX=PASS_`; then
41+
2. prefix the desired environment variables with that prefix; e.g. `PASS_SYNAPSE_COMPLEMENT_USE_WORKERS=true`.
42+
43+
3944
### Potential conflict with firewall software
4045

4146
The homeserver in the test image needs to be able to make requests to the mock

0 commit comments

Comments
 (0)