mirror of
https://github.com/spacebarchat/spacebarchat.git
synced 2024-11-21 18:02:35 +01:00
➖ delete submodules
This commit is contained in:
parent
c4e0e68657
commit
a243141fac
@ -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
api
@ -1 +0,0 @@
|
||||
Subproject commit 2f68beea8f739062ae94f833331ac639005a424b
|
1
cdn
1
cdn
@ -1 +0,0 @@
|
||||
Subproject commit 358bf873296d4d4e84611d3f3d5ae48eabfc8ad6
|
1
client
1
client
@ -1 +0,0 @@
|
||||
Subproject commit e633d70fa182daf104f5cd818938a0636aa69a2d
|
@ -1 +0,0 @@
|
||||
Subproject commit 800fec395e3438d6bddacdb8d2bffc55d056685b
|
@ -1 +0,0 @@
|
||||
Subproject commit a6cc1cf1627b4cbf8a37780080b22a16c8b5916c
|
@ -25,8 +25,8 @@ services:
|
||||
- ./.docker/data:/data/db
|
||||
- ./.docker/mongodb/mongod.conf:/etc/mongod.conf
|
||||
ports:
|
||||
- "27017:27017"
|
||||
command: mongod --replSet rs0
|
||||
- "27018:27018"
|
||||
command: mongod --replSet rs0 --port 27018
|
||||
restart: unless-stopped
|
||||
mongo-init-replica:
|
||||
image: mongo
|
||||
@ -36,7 +36,7 @@ services:
|
||||
mongo mongo/fosscord --eval \"
|
||||
rs.initiate({
|
||||
_id: 'rs0',
|
||||
members: [ { _id: 0, host: 'localhost:27017' } ]})\" &&
|
||||
members: [ { _id: 0, host: 'localhost:27018' } ]})\" &&
|
||||
s=$$? && break || s=$$?;
|
||||
echo \"Tried $$i times. Waiting 5 secs...\";
|
||||
sleep 5;
|
||||
|
1
docs
1
docs
@ -1 +0,0 @@
|
||||
Subproject commit e4d372272ca403b9f42654cd56e44d4943e1b124
|
@ -1 +0,0 @@
|
||||
Subproject commit 2d149d068f64fc9dd2cba97156c910d363906404
|
1
gateway
1
gateway
@ -1 +0,0 @@
|
||||
Subproject commit bc4f944218a1088f3c78c95bbef7ce8ae9a12331
|
@ -1 +0,0 @@
|
||||
Subproject commit aa08f9433c00dfdd3078dc3a18addae8bda7208f
|
1
plugins
1
plugins
@ -1 +0,0 @@
|
||||
Subproject commit 33c08d712c2d4bd1f2b022bbee4b59d5e554fbee
|
1
rtc
1
rtc
@ -1 +0,0 @@
|
||||
Subproject commit d2fb1ee4588436eca9bb0097bd06ca05dbc3e5f0
|
1
rtc-js
1
rtc-js
@ -1 +0,0 @@
|
||||
Subproject commit 4fc395823d28401a2631bb8ad788f06b980078ca
|
@ -1,5 +1,5 @@
|
||||
// process.env.MONGOMS_DEBUG = "1";
|
||||
import fs from "fs/promises";
|
||||
import fs from "fs";
|
||||
import { MongoMemoryReplSet } from "mongodb-memory-server";
|
||||
import path from "path";
|
||||
import cluster from "cluster";
|
||||
@ -25,7 +25,7 @@ if (cluster.isMaster && !process.env.masterStarted) {
|
||||
process.env.masterStarted = "true";
|
||||
|
||||
(async () => {
|
||||
await fs.mkdir(dbPath, { recursive: true });
|
||||
fs.mkdirSync(dbPath, { recursive: true });
|
||||
|
||||
await mongod.start();
|
||||
console.log(`[DB] started`);
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit 33d4302e57bbca8c2ae76b943c69d00bc51abffd
|
1
support
1
support
@ -1 +0,0 @@
|
||||
Subproject commit d9e856e7d2b126bb65c24fa5539874a11e78571f
|
1
themes
1
themes
@ -1 +0,0 @@
|
||||
Subproject commit 46557b081621b78c8620c022f684693e03bb38ea
|
1
ui
1
ui
@ -1 +0,0 @@
|
||||
Subproject commit f59416cf151389f7add104dfca986639a95ce06b
|
@ -1 +0,0 @@
|
||||
Subproject commit 76f56f4c829e53fa4b5ab097dbcfdf7e28c09d54
|
Loading…
Reference in New Issue
Block a user