2021-11-09 07:15:49 -05:00
|
|
|
name: mjolnir
|
|
|
|
|
2021-10-07 08:42:08 -04:00
|
|
|
up:
|
2021-11-18 08:54:46 -05:00
|
|
|
before:
|
|
|
|
# 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
|
2021-09-27 07:12:20 -04:00
|
|
|
run:
|
2021-10-07 08:42:08 -04:00
|
|
|
- yarn test:integration
|
|
|
|
down:
|
|
|
|
finally:
|
2021-11-09 07:15:49 -05:00
|
|
|
- docker stop mjolnir-test-reverse-proxy || true
|
|
|
|
homeserver:
|
2021-09-27 07:12:20 -04:00
|
|
|
server_name: localhost:9999
|
|
|
|
public_baseurl: http://localhost:9999
|
2021-11-09 07:15:49 -05:00
|
|
|
registration_shared_secret: REGISTRATION_SHARED_SECRET
|