mjolnir/mx-tester.yml

15 lines
497 B
YAML

name: mjolnir
up:
# Launch the reverse proxy, listening for connections *only* on the local host.
- docker run --rm --network host --name mjolnir-test-reverse-proxy -p 127.0.0.1:8081:80 -v $MX_TEST_CWD/test/nginx.conf:/etc/nginx/nginx.conf:ro -d nginx
run:
- yarn test:integration
down:
finally:
- docker stop mjolnir-test-reverse-proxy || true
homeserver:
server_name: localhost:9999
public_baseurl: http://localhost:9999
registration_shared_secret: REGISTRATION_SHARED_SECRET