@congto @MinhKMA
I made Dockerfile-server and Dockerfile-db. I'd recommend updating your repos.
The server uses the python container built on top of Alpine. The database uses the MariaDB container.
After cloning this repo I ran these commands to get it up and running. Next I want to link them so the server can communicate with the database.
docker build -f Dockerfile-server .
docker run -d --name mapperserver -p 5000:5000 <build server image>
docker build -f Dockerfile-db .
docker run -d --name mapperdb -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret <built db image>
Let me know if this works for you. The sensor setup is so simple I'm not sure it needs a container. Also it needs access to the auth.log file.
@congto @MinhKMA
I made
Dockerfile-serverandDockerfile-db. I'd recommend updating your repos.The server uses the python container built on top of Alpine. The database uses the MariaDB container.
After cloning this repo I ran these commands to get it up and running. Next I want to link them so the server can communicate with the database.
docker build -f Dockerfile-server .docker run -d --name mapperserver -p 5000:5000 <build server image>docker build -f Dockerfile-db .docker run -d --name mapperdb -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret <built db image>Let me know if this works for you. The sensor setup is so simple I'm not sure it needs a container. Also it needs access to the
auth.logfile.