1
0
mirror of https://github.com/coltoneshaw/CS-Repro-Mattermost.git synced 2025-12-23 18:11:34 +01:00

fix bug in make file for rtcd and bump pg to 16

This commit is contained in:
coltoneshaw
2024-04-04 10:27:42 -04:00
parent c10d21eec2
commit 72d59b3c89
3 changed files with 14 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ run-mm-replicas:
run-rtcd:
@echo "Starting RTCD..."
@docker-compose up -d mattermost-rtcd
@docker exec -it cs-repro-mattermost mmctl config set PluginSettings.Plugins.com.mattermost.calls.rtcdserviceurl "http://mattermost-rtcd" --local
@docker exec -it cs-repro-mattermost mmctl config patch /mattermost/config/rtcdConfig.json --local
@docker exec -it cs-repro-mattermost mmctl plugin disable com.mattermost.calls --local
@docker exec -it cs-repro-mattermost mmctl plugin enable com.mattermost.calls --local

View File

@@ -1,7 +1,7 @@
services:
postgres:
container_name: cs-repro-postgres
image: postgres:14-alpine
image: postgres:16-alpine
restart: unless-stopped
ports:
- "5432:5432"
@@ -89,6 +89,7 @@ services:
- ./files/mattermost/advancedLogging.json:/mattermost/config/advancedLogging.json:ro
- ./files/mattermost/defaultConfig.json:/mattermost/config/defaultConfig.json:ro
- ./files/mattermost/replicaConfig.json:/mattermost/config/replicaConfig.json:ro
- ./files/mattermost/rtcdConfig.json:/mattermost/config/rtcdConfig.json:ro
environment:
- MM_SqlSettings_DriverName=postgres
- MM_SqlSettings_DataSource=postgres://mmuser:mmuser_password@cs-repro-postgres:5432/mattermost?sslmode=disable&connect_timeout=10&binary_parameters=yes
@@ -146,7 +147,7 @@ services:
- POSTGRES_PASSWORD=mmuser_password
- LISTEN_ADDRESS="*"
- REPLICA_NAME=replica_1
image: postgres:14-alpine
image: postgres:16-alpine
restart: unless-stopped
ports:
- "5433:5432"
@@ -170,7 +171,7 @@ services:
- POSTGRES_PASSWORD=mmuser_password
- LISTEN_ADDRESS="*"
- REPLICA_NAME=replica_2
image: postgres:14-alpine
image: postgres:16-alpine
restart: unless-stopped
ports:
- "5434:5432"

View File

@@ -0,0 +1,9 @@
{
"PluginSettings": {
"Plugins": {
"com.mattermost.calls": {
"rtcdserviceurl": "http://mattermost-rtcd"
}
}
}
}