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: run-rtcd:
@echo "Starting RTCD..." @echo "Starting RTCD..."
@docker-compose up -d mattermost-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 disable com.mattermost.calls --local
@docker exec -it cs-repro-mattermost mmctl plugin enable com.mattermost.calls --local @docker exec -it cs-repro-mattermost mmctl plugin enable com.mattermost.calls --local

View File

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

View File

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