Compare commits

...

5 Commits

3 changed files with 9 additions and 5 deletions

View File

@ -1,12 +1,16 @@
FROM tiangolo/meinheld-gunicorn-flask:python3.9 FROM tiangolo/meinheld-gunicorn-flask:python3.9
RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db # Currently unusable, mariadb is not available through installer for debian 12
RUN curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | bash # RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
# RUN curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | bash
RUN apt-get update RUN apt-get update
RUN apt-get upgrade -y RUN apt-get upgrade -y
RUN apt-get dist-upgrade RUN apt-get dist-upgrade
# In the meantime, acquire the mariadb packages through apt
RUN apt-get install -y libmariadb3 libmariadb-dev
COPY ./backend/requirements.txt /app/requirements.txt COPY ./backend/requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt

View File

@ -91,8 +91,8 @@ def setup_config(app: Flask):
exit() exit()
default_config = {'username': initial_username, default_config = {'username': initial_username,
'password': initial_password, 'password': initial_password,
'entryquota': 3, 'entryquota': 2,
'maxqueue': 20, 'maxqueue': 10,
'entries_allowed': 1, 'entries_allowed': 1,
'theme': 'default.css'} 'theme': 'default.css'}
for key, value in default_config.items(): for key, value in default_config.items():

View File

@ -6,7 +6,7 @@ secrets:
services: services:
karaoqueue: karaoqueue:
image: "ghcr.io/phoenixtwofive/karaoqueue:v2023.04.1" image: "ghcr.io/phoenixtwofive/karaoqueue:v2023.06"
build: . build: .
restart: always restart: always
ports: ports: