Remove P2P demo docker stuff, no longer needed now that we have SQLite

This commit is contained in:
Neil Alexander 2020-04-08 17:05:38 +01:00
parent b95fab6c8b
commit e5a250c565
3 changed files with 0 additions and 89 deletions

View file

@ -1,29 +0,0 @@
#!/bin/sh
# Kick off postgres
export POSTGRES_DB=dendrite
export POSTGRES_USER=dendrite
export POSTGRES_PASSWORD=itsasecret
./usr/local/bin/docker-entrypoint.sh postgres &
# Wait for postgres to be ready
sleep 5
while ! pg_isready;
do
sleep 1
done
# Start nginx
echo "Starting Riot"
nginx
echo "Postgres and Riot are now running!"
echo "Please start Dendrite using:"
echo ""
echo " GO111MODULE=on go get github.com/matrix-org/dendrite-p2p-demo"
echo " \`go env GOPATH\`/bin/dendrite-p2p-demo -d 8081"
echo ""
echo "https://matrix.org/~matthew/p2p-demo.html"
# Wait forever
exec tail -f /dev/null

View file

@ -1,55 +0,0 @@
{
"default_server_config": {
"m.homeserver": {
"base_url": "http://localhost:8080",
"server_name": "p2p"
},
"m.identity_server": {
"base_url": "https://vector.im"
}
},
"disable_custom_urls": false,
"disable_guests": true,
"disable_login_language_selector": false,
"disable_3pid_login": false,
"brand": "Riot",
"integrations_ui_url": "https://scalar.vector.im/",
"integrations_rest_url": "https://scalar.vector.im/api",
"integrations_widgets_urls": [
"https://scalar.vector.im/_matrix/integrations/v1",
"https://scalar.vector.im/api",
"https://scalar-staging.vector.im/_matrix/integrations/v1",
"https://scalar-staging.vector.im/api",
"https://scalar-staging.riot.im/scalar/api"
],
"integrations_jitsi_widget_url": "https://scalar.vector.im/api/widgets/jitsi.html",
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
"defaultCountryCode": "GB",
"showLabsSettings": false,
"features": {
"feature_pinning": "labs",
"feature_custom_status": "labs",
"feature_custom_tags": "labs",
"feature_state_counters": "labs"
},
"default_federate": true,
"default_theme": "light",
"roomDirectory": {
"servers": [
]
},
"welcomeUserId": "@riot-bot:matrix.org",
"piwik": {
"url": "https://piwik.riot.im/",
"whitelistedHSUrls": ["https://matrix.org"],
"whitelistedISUrls": ["https://vector.im", "https://matrix.org"],
"siteId": 1
},
"enable_presence_by_hs_url": {
"https://matrix.org": false,
"https://matrix-client.matrix.org": false
},
"settingDefaults": {
"breadcrumbs": true
}
}

View file

@ -1,5 +0,0 @@
#!/bin/bash
bash ./docker/build.sh
./bin/dendrite-p2p-demo