diff --git a/README.md b/README.md index 378f4dd..6944823 100644 --- a/README.md +++ b/README.md @@ -3,105 +3,15 @@ ## First configuration 1. Create docker image -- `$ docker build -t sshmon .` +- `$ docker build -t sshmon:surreal .` 2. Setup containers - `$ docker-compose up -d` - - This will open ports 3306 for database, 8080 for main app and 8081 for phpMyAdmin + - This will open ports 8000 for database and 8080 for main app -3. Create database and tables -- Script does not create database and tables by default - - Create database `sshmon` with 3 tables: - - - - - - - - - - - - - - - - - - - - - - - -
ips
NameTypeExtra
idintAUTO_INCREMENT PRIMARY KEY
ipvarchar(255)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
users
NameTypeExtra
idintAUTO_INCREMENT PRIMARY KEY
usernamevarchar(255)
passwordvarchar(255)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
downtime
NameTypeExtra
idintAUTO_INCREMENT PRIMARY KEY
ipvarchar(255)
timedatetime
statusvarchar(255)
-4. Register new account in app -5. Login -6. Enjoy! +3. Register new account in app +4. Login +5. Enjoy!