mirror of
https://github.com/spacebarchat/spacebarchat.git
synced 2024-11-09 20:22:45 +01:00
update submodules
This commit is contained in:
parent
66b2ebdf18
commit
0f97bdc311
@ -6,7 +6,7 @@ services:
|
|||||||
build: gateway
|
build: gateway
|
||||||
ports:
|
ports:
|
||||||
- "3002:3002"
|
- "3002:3002"
|
||||||
links:
|
depends_on:
|
||||||
- mongo
|
- mongo
|
||||||
env_file: ./.docker/env
|
env_file: ./.docker/env
|
||||||
fosscord-api:
|
fosscord-api:
|
||||||
@ -15,7 +15,7 @@ services:
|
|||||||
build: api
|
build: api
|
||||||
ports:
|
ports:
|
||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
links:
|
depends_on:
|
||||||
- mongo
|
- mongo
|
||||||
env_file: ./.docker/env
|
env_file: ./.docker/env
|
||||||
mongo:
|
mongo:
|
||||||
@ -27,18 +27,19 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
command: mongod --replSet rs0
|
command: mongod --replSet rs0
|
||||||
|
restart: unless-stopped
|
||||||
mongo-init-replica:
|
mongo-init-replica:
|
||||||
image: mongo
|
image: mongo
|
||||||
command: >
|
command: >
|
||||||
bash -c
|
bash -c
|
||||||
"for i in `seq 1 30`; do
|
"for i in `seq 1 30`; do
|
||||||
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:27017' } ]})\" &&
|
||||||
s=$$? && break || s=$$?;
|
s=$$? && break || s=$$?;
|
||||||
echo \"Tried $$i times. Waiting 5 secs...\";
|
echo \"Tried $$i times. Waiting 5 secs...\";
|
||||||
sleep 5;
|
sleep 5;
|
||||||
done; (exit $$s)"
|
done; (exit $$s)"
|
||||||
links:
|
depends_on:
|
||||||
- mongo
|
- mongo
|
||||||
|
@ -30,6 +30,12 @@
|
|||||||
{
|
{
|
||||||
"path": "./api"
|
"path": "./api"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "./rtc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./voice-gateway"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "./landingpage"
|
"path": "./landingpage"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user