Sign inSign up

antoninecer/qloapps

By antoninecer

•Updated over 1 year ago

Image
0

999

antoninecer/qloapps repository overview

QloApps - Dockerized Hotel Booking System QloApps is an open-source hotel management and booking system. This Docker image provides an easy way to deploy QloApps with Apache and MariaDB for seamless hotel reservations.

How to Use This Image

  1. Using Docker Compose (Recommended) Create a docker-compose.yml file and use the following configuration:
version: '3.9'

services:
  qloapps:
    image: antoninecer/qloapps:latest
    container_name: qloapps
    restart: unless-stopped
    ports:
      - "3000:80"
    depends_on:
      - mariadb
    environment:
      - DB_SERVER=mariadb
      - MYSQL_USER=qlo_user
      - MYSQL_PASSWORD=qlo_password
      - MYSQL_DATABASE=qlo_db
    volumes:
      - qloapps_data:/var/www/html

  mariadb:
    image: mariadb:10.11
    container_name: qlo_db
    restart: unless-stopped
    environment:
      MYSQL_ROOT_PASSWORD: rootpassword
      MYSQL_DATABASE: qlo_db
      MYSQL_USER: qlo_user
      MYSQL_PASSWORD: qlo_password
    volumes:
      - mariadb_data:/var/lib/mysql

volumes:
  mariadb_data:
  qloapps_data:
----------
2. Running with Docker CLI (Manual Method)
If you want to run containers manually without docker-compose, follow these steps:

Start the MariaDB Container
bash
Copy
Edit
docker run -d --name qlo_db \
  -e MYSQL_ROOT_PASSWORD=rootpassword \
  -e MYSQL_DATABASE=qlo_db \
  -e MYSQL_USER=qlo_user \
  -e MYSQL_PASSWORD=qlo_password \
  -v mariadb_data:/var/lib/mysql \
  mariadb:10.11
Start the QloApps Container
bash
Copy
Edit
docker run -d --name qloapps \
  --link qlo_db:mariadb \
  -p 3000:80 \
  -e DB_SERVER=mariadb \
  -e MYSQL_USER=qlo_user \
  -e MYSQL_PASSWORD=qlo_password \
  -e MYSQL_DATABASE=qlo_db \
  -v qloapps_data:/var/www/html \
  antoninecer/qloapps:latest
šŸ“Œ Make sure to change 3000:80 to the desired port.

Accessing QloApps
Once the containers are up and running, open your browser and visit:

If running locally:
http://localhost:3000

If running on a server:
http://your-server-ip:3000

⚠ Important: If you changed the port in docker-compose.yml, make sure to access the correct port.

Customizing & Configuration
Database Credentials
Change the MYSQL_ROOT_PASSWORD, MYSQL_USER, and MYSQL_PASSWORD in the .env file or docker-compose.yml before deployment.
Port Configuration
Modify the ports: section in docker-compose.yml to suit your network setup.
Volumes
qloapps_data: Stores QloApps files (/var/www/html)
mariadb_data: Stores database files (/var/lib/mysql)
Troubleshooting
If QloApps is not accessible, check the logs:
bash


docker logs qloapps
docker logs qlo_db
Make sure ports are not occupied by other services.
Check if MariaDB is running properly and credentials match.

⚠ Warning when setting up the database!
The database server name in docker-compose.yml is mariadb. During the QloApps installation, make sure to enter mariadb instead of localhost and all other fields follow your docker-compose settings.

License & Credits
This project is based on QloApps by Webkul (QloApps Official).

For any issues, please refer to QloApps documentation or open an issue in the repository.

Support the Project šŸ’™
If you find this QloApps Docker setup useful and would like to support my work, feel free to send a little something my way!

Bitcoin (BTC) Wallet Address:
1419s8apnaoqkHKtGooa6u7MTw3WJbh4A3

Your support helps keep open-source projects like this going! šŸš€āœØ

Thanks for using QloApps on Docker! If you have any feedback or improvements, feel free to reach out.

Happy hosting & best of luck with your reservations! šŸØšŸ’¼

Tag summary

Content type

Image

Digest

sha256:c6624e2aa…

Size

277.5 MB

Last updated

over 1 year ago

docker pull antoninecer/qloapps