postgresql 13, update middleware

This commit is contained in:
wh1te909 2020-10-25 22:15:41 +00:00
parent c5eb20ee33
commit d45495da2b
3 changed files with 4 additions and 3 deletions

View File

@ -23,6 +23,7 @@ EXCLUDE_PATHS = (
f"/{settings.ADMIN_URL}",
"/logout",
"/agents/installagent",
"/logs/downloadlog",
)

View File

@ -28,7 +28,7 @@ volumes:
services:
# Postgres Database for API service
db:
image: postgres:12
image: postgres:13
environment:
POSTGRES_DB: tacticalrmm
POSTGRES_USER: ${POSTGRES_USER}

View File

@ -1,6 +1,6 @@
#!/bin/bash
SCRIPT_VERSION="15"
SCRIPT_VERSION="16"
SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/develop/install.sh'
GREEN='\033[0;32m'
@ -266,7 +266,7 @@ print_green 'Installing postgresql'
sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt update
sudo apt install -y postgresql-12
sudo apt install -y postgresql-13
print_green 'Creating database for the rmm'