1
0
mirror of https://github.com/spacebarchat/spacebarchat.git synced 2024-11-22 10:22:32 +01:00

delete submodules

This commit is contained in:
Flam3rboy 2021-07-15 19:23:35 +02:00
parent c4e0e68657
commit a243141fac
20 changed files with 6 additions and 23 deletions

View File

@ -1 +1 @@
MONGO_URL=mongodb://mongo:27017/fosscord?readPreference=secondaryPreferred?replicaSet=rs0 MONGO_URL=mongodb://mongo:27018/fosscord?readPreference=secondaryPreferred&replicaSet=rs0

1
api

@ -1 +0,0 @@
Subproject commit 2f68beea8f739062ae94f833331ac639005a424b

1
cdn

@ -1 +0,0 @@
Subproject commit 358bf873296d4d4e84611d3f3d5ae48eabfc8ad6

1
client

@ -1 +0,0 @@
Subproject commit e633d70fa182daf104f5cd818938a0636aa69a2d

@ -1 +0,0 @@
Subproject commit 800fec395e3438d6bddacdb8d2bffc55d056685b

@ -1 +0,0 @@
Subproject commit a6cc1cf1627b4cbf8a37780080b22a16c8b5916c

View File

@ -25,8 +25,8 @@ services:
- ./.docker/data:/data/db - ./.docker/data:/data/db
- ./.docker/mongodb/mongod.conf:/etc/mongod.conf - ./.docker/mongodb/mongod.conf:/etc/mongod.conf
ports: ports:
- "27017:27017" - "27018:27018"
command: mongod --replSet rs0 command: mongod --replSet rs0 --port 27018
restart: unless-stopped restart: unless-stopped
mongo-init-replica: mongo-init-replica:
image: mongo image: mongo
@ -36,7 +36,7 @@ services:
mongo mongo/fosscord --eval \" mongo mongo/fosscord --eval \"
rs.initiate({ rs.initiate({
_id: 'rs0', _id: 'rs0',
members: [ { _id: 0, host: 'localhost:27017' } ]})\" && members: [ { _id: 0, host: 'localhost:27018' } ]})\" &&
s=$$? && break || s=$$?; s=$$? && break || s=$$?;
echo \"Tried $$i times. Waiting 5 secs...\"; echo \"Tried $$i times. Waiting 5 secs...\";
sleep 5; sleep 5;

1
docs

@ -1 +0,0 @@
Subproject commit e4d372272ca403b9f42654cd56e44d4943e1b124

@ -1 +0,0 @@
Subproject commit 2d149d068f64fc9dd2cba97156c910d363906404

@ -1 +0,0 @@
Subproject commit bc4f944218a1088f3c78c95bbef7ce8ae9a12331

@ -1 +0,0 @@
Subproject commit aa08f9433c00dfdd3078dc3a18addae8bda7208f

@ -1 +0,0 @@
Subproject commit 33c08d712c2d4bd1f2b022bbee4b59d5e554fbee

1
rtc

@ -1 +0,0 @@
Subproject commit d2fb1ee4588436eca9bb0097bd06ca05dbc3e5f0

1
rtc-js

@ -1 +0,0 @@
Subproject commit 4fc395823d28401a2631bb8ad788f06b980078ca

View File

@ -1,5 +1,5 @@
// process.env.MONGOMS_DEBUG = "1"; // process.env.MONGOMS_DEBUG = "1";
import fs from "fs/promises"; import fs from "fs";
import { MongoMemoryReplSet } from "mongodb-memory-server"; import { MongoMemoryReplSet } from "mongodb-memory-server";
import path from "path"; import path from "path";
import cluster from "cluster"; import cluster from "cluster";
@ -25,7 +25,7 @@ if (cluster.isMaster && !process.env.masterStarted) {
process.env.masterStarted = "true"; process.env.masterStarted = "true";
(async () => { (async () => {
await fs.mkdir(dbPath, { recursive: true }); fs.mkdirSync(dbPath, { recursive: true });
await mongod.start(); await mongod.start();
console.log(`[DB] started`); console.log(`[DB] started`);

@ -1 +0,0 @@
Subproject commit 33d4302e57bbca8c2ae76b943c69d00bc51abffd

@ -1 +0,0 @@
Subproject commit d9e856e7d2b126bb65c24fa5539874a11e78571f

1
themes

@ -1 +0,0 @@
Subproject commit 46557b081621b78c8620c022f684693e03bb38ea

1
ui

@ -1 +0,0 @@
Subproject commit f59416cf151389f7add104dfca986639a95ce06b

@ -1 +0,0 @@
Subproject commit 76f56f4c829e53fa4b5ab097dbcfdf7e28c09d54