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