- Add orientation parameter support to create_group and edit_group functions - Fix manage_group.html template URL endpoint from 'update_group_content_order' to 'update_group_content_order_route' - Add orientation field and filtering to edit_group.html template with JavaScript functionality - Update group_player_management.py to handle orientation validation in create and edit operations - Fix docker-compose.yml to include build directive and correct volume paths - Update entrypoint.sh to handle fresh deployments without migrations - Ensure orientation consistency across group and player management These changes resolve: - Internal Server Error on manage_group page - Missing orientation parameter in group creation/editing - Template URL endpoint mismatches - Docker deployment issues with fresh installations
18 lines
420 B
YAML
Executable File
18 lines
420 B
YAML
Executable File
#version: '"1.1.0"'
|
|
services:
|
|
web:
|
|
build: .
|
|
image: digiserver:latest
|
|
ports:
|
|
- "8880:5000"
|
|
environment:
|
|
- FLASK_APP=app.py
|
|
- FLASK_RUN_HOST=0.0.0.0
|
|
- ADMIN_USER=admin
|
|
- ADMIN_PASSWORD=Initial01!
|
|
- SECRET_KEY=Ma_Duc_Dupa_Merele_Lui_Ana
|
|
volumes:
|
|
- /opt/digi-s/instance:/app/instance
|
|
- /opt/digi-s/uploads:/app/static/uploads
|
|
restart: unless-stopped
|