123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Run Easy!Appointments - Appointment Scheduler System - in Docker</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Run Easy!Appointments - Appointment Scheduler System - in Docker">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="08/11/2024 10:01:03 PM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Run Easy!Appointments - Appointment Scheduler System - in Docker</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>What is Easy!Appointments?</h2>
- <blockquote><em>Easy!Appointments is a highly customizable web application that allows customers to book appointments with you via a sophisticated web interface. Moreover, it provides the ability to sync your data with Google Calendar so you can use them with other services. It is an open source project that you can download and install even for commercial use. Easy!Appointments will run smoothly with your existing website as it can be installed in a single folder of the server and of course share an existing database. -<a href="https://github.com/alextselegidis/easyappointments#about" target="_blank">https://github.com/alextselegidis/easyappointments#about</a></em></blockquote>
- <h2>Installing Docker</h2>
- <ol>
- <li>Log into the Linux based device</li>
- <li>Run the following commands in the terminal
- <div class="codeBlock"># install prerequisites<br />
- sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
- # add docker gpg key<br />
- curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -<br />
- # add docker software repository<br />
- sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"<br />
- # install docker<br />
- sudo apt install docker-ce docker-compose containerd.io -y<br />
- # enable and start docker service<br />
- sudo systemctl enable docker && sudo systemctl start docker<br />
- # add the current user to the docker group<br />
- sudo usermod -aG docker $USER<br />
- # reauthenticate for the new group membership to take effect<br />
- su - $USER</div>
- </li>
- </ol>
- <h2>Running Easy!Appointments</h2>
- <ol>
- <li>Now that Docker is installed, run the following commands to setup the Easy!Appointments Docker container and run it
- <div class="codeBlock"># create working directories<br />
- mkdir ~/docker/mariadb -p<br />
- # set owner of working directories<br />
- sudo chown "$USER":"$USER" ~/docker -R<br />
- # create containers network<br />
- docker network create containers<br />
- # run the mariadb docker container<br />
- docker run -d --name mariadb --network containers --network-alias db -e MYSQL_ROOT_PASSWORD=r00tp@ss -e MYSQL_USER=easy_appointments_rw -e MYSQL_PASSWORD=EasyAppo1ntm3nts! -e MYSQL_DATABASE=easy_appointments -v /home/$USER/docker/mariadb:/var/lib/mysql --restart=unless-stopped mariadb:latest<br />
- # run the easy!appointments docker container<br />
- docker run -d --name easy-appointments --network containers -p 8089:80 -e DB_HOST=mariadb -e DB_NAME=easy_appointments -e DB_USERNAME=easy_appointments_rw -e DB_PASSWORD=EasyAppo1ntm3nts! --restart=unless-stopped alextselegidis/easyappointments</div>
- </li>
- </ol>
- <h2>Easy!Appointments Web Installer</h2>
- <ol>
- <li>Open a web browser and navigate to http://DNSorIP:8089</li>
- <li>The Easy!Appointments Installation web installer should be load</li>
- <li>Complete the Administrator and Company form fields > Click Install Easy!Appointments</li>
- <li>Welcome to Easy!Appointments</li>
- </ol>
- <p>Documentation: <a href="https://hub.docker.com/r/alextselegidis/easyappointments" target="_blank">https://hub.docker.com/r/alextselegidis/easyappointments</a></p> </div>
- </div>
- </body>
- </html>
-
|