Files
quality_recticel/old code/README-DOCKER.md
Quality System Admin 50c791e242 cleaning structure
2025-10-16 01:42:59 +03:00

1.3 KiB
Raw Blame History

🚀 Quick Start - Docker Deployment

What You Need

  • A server with Docker installed
  • 2GB free disk space
  • Ports 8781 and 3306 available

Deploy in 3 Steps

1 Install Docker (if not already installed)

Ubuntu/Debian:

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER

Then log out and back in.

2 Deploy the Application

cd /srv/quality_recticel
./deploy.sh

3 Access Your Application

Open browser: http://localhost:8781

Login:

  • Username: superadmin
  • Password: superadmin123

🎯 Done!

Your complete application with database is now running in Docker containers.

Common Commands

# View logs
docker compose logs -f

# Stop services  
docker compose down

# Restart services
docker compose restart

# Backup database
docker compose exec -T db mariadb-dump -u trasabilitate -pInitial01! trasabilitate > backup.sql

📚 Full Documentation

See DOCKER_DEPLOYMENT.md for complete documentation.

🆘 Problems?

# Check status
docker compose ps

# View detailed logs
docker compose logs -f web

# Start fresh
docker compose down -v
./deploy.sh

Note: This is a production-ready deployment using Gunicorn WSGI server, MariaDB 11.3, and proper health checks.