diff --git a/docker-compose.yml b/docker-compose.yml index f33136e..2f68deb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -86,16 +86,3 @@ services: timeout: 10s retries: 1 start_period: 5s - - cleanmedia: - hostname: cleanmedia - image: rogsme/cleanmedia - volumes: - - ./config/dendrite:/etc/dendrite - - ./config/media:/var/dendrite/media - - /etc/localtime:/etc/localtime:ro - environment: - - CRON=0 0 * * * - - CLEANMEDIA_OPTS=-c /etc/dendrite/dendrite.yaml -t 30 -l - depends_on: - - monolith diff --git a/setup-db.sh b/setup-db.sh index 43cce14..8e60e6c 100755 --- a/setup-db.sh +++ b/setup-db.sh @@ -9,7 +9,7 @@ fi # Define database names and user DATABASES=("whatsapp" "telegram" "discord") -USER="dendrite" +USER="synapse" # Create databases and grant permissions for DB in "${DATABASES[@]}"; do diff --git a/setup.sh b/setup.sh index 441a4c2..08d113c 100755 --- a/setup.sh +++ b/setup.sh @@ -24,6 +24,6 @@ docker compose run --rm \ SHARED_SECRET=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 50) echo echo "Registration shared secret: $SHARED_SECRET" -echo "Database URI: postgres://dendrite:$DB_PASSWORD@postgres/dendrite?sslmode=disable" +echo "Database URI: postgres://synapse:$DB_PASSWORD@postgres/synapse?sslmode=disable" echo echo "Make sure to save this information securely!"