Skip to content

Conversation

@konradkonrad
Copy link
Contributor

This contains some configuration changes, that should make it easy to run and debug a synapse instance locally.

build container

docker build --no-cache --build-arg "RAIDEN_VERSION=develop" -t test_synapse build/synapse

run instance

docker run -e SERVER_NAME=foobar --name synapse_test -it -v $(pwd)/data/synapse:/data -v $(pwd)/data/well_known:/data_well_known -v $(pwd)/config/synapse:/config test_synapse

Note: this builds on top of a pull request branch by https://github.com/anoa

When matrix-org/synapse#9491 is released, switch back to installing SYNAPSE from pypi.
- build container
```
docker build --no-cache --build-arg "RAIDEN_VERSION=develop" -t test_synapse build/synapse
```

- run container
```
docker run -e SERVER_NAME=foobar --name synapse_test -it -v $(pwd)/data/synapse:/data -v $(pwd)/data/well_known:/data_well_known -v $(pwd)/config/synapse:/config test_synapse
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant