- Fix environment variable mismatch in create_default_user.py - Now correctly uses ADMIN_USER and ADMIN_PASSWORD from docker-compose - Maintains backward compatibility with DEFAULT_USER and DEFAULT_PASSWORD - Change port mapping from 8880 to 80 for easier access - Resolves login issues with admin user credentials
34 lines
779 B
YAML
Executable File
34 lines
779 B
YAML
Executable File
# DigiServer - Digital Signage Management Platform
|
|
# Version: 1.1.0
|
|
# Build Date: 2025-06-29
|
|
|
|
services:
|
|
digiserver:
|
|
build: .
|
|
image: digiserver:latest
|
|
container_name: digiserver
|
|
ports:
|
|
- "80: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:
|
|
# Bind mount the app folder for easier development and debugging
|
|
- ./app:/app
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:5000/"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
networks:
|
|
- digiserver-network
|
|
|
|
networks:
|
|
digiserver-network:
|
|
driver: bridge
|