The script will uninstall any previously installed docker, install docker and run a container named "diazarserver".
This container uses the latest image daveku/diazar-server and will be deployed to the port 3306. The container shares the directory /var/lib/mysql
with the host at ~/backupDB
.
The image davidkudev/server-diazar has the following features:
- O.S: Debian 10
- Database: MySQL 5.7 user: root, password: merida
- No-IP - ready to configure with credentials.
- Expose port: 3306
-
Confirm you are in your user directory
cd ~
-
Clone this repository.
git clone https://github.com/daveku/diazarserver-debian10.git
-
Access the repository.
cd diazarserver-debian10
-
Run the following command to install docker in diazarserver.
./deploy_docker.sh