mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 03:43:11 -06:00
Remove P2P demo docker stuff, no longer needed now that we have SQLite
This commit is contained in:
parent
b95fab6c8b
commit
e5a250c565
|
|
@ -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
|
|
||||||
|
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
bash ./docker/build.sh
|
|
||||||
|
|
||||||
./bin/dendrite-p2p-demo
|
|
||||||
Loading…
Reference in a new issue