updated versions and players
This commit is contained in:
4
app.py
4
app.py
@@ -38,8 +38,8 @@ from utils.uploads import (
|
||||
)
|
||||
|
||||
# Define global variables for server version and build date
|
||||
SERVER_VERSION = "1.0.0"
|
||||
BUILD_DATE = "2025-06-25"
|
||||
SERVER_VERSION = "1.1.0"
|
||||
BUILD_DATE = "2025-06-29"
|
||||
|
||||
app = Flask(__name__, instance_relative_config=True)
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#version: '"1.1.0"'
|
||||
services:
|
||||
web:
|
||||
image: digiserver:latest
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#!/bin/sh
|
||||
# filepath: /home/ske087/digiserver/entrypoint.sh
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Initialize the database if it doesn't exist
|
||||
if [ ! -f "/app/instance/dashboard.db" ]; then
|
||||
echo "Initializing database..."
|
||||
python init_db.py
|
||||
fi
|
||||
# Initialize the database and run migrations
|
||||
flask db upgrade
|
||||
|
||||
# Start Gunicorn
|
||||
exec gunicorn -w 4 -b 0.0.0.0:5000 app:app
|
||||
# Create necessary directories
|
||||
mkdir -p static/uploads static/resurse
|
||||
|
||||
# Start the application
|
||||
exec flask run --host=0.0.0.0
|
||||
Reference in New Issue
Block a user