Launch first setup.sh :
This will download deltasql source code and install docker compose.
As second step execute launch.sh
This will startup apache and mariadb
It will also launch a DNS server in dns-server.sh
Check that IP is set correctly in dns-server.sh with
ip addr | grep 'inet.*docker0"
Then visit http://localhost/deltasql
and go to Setup deltasql
Use this settings
1. Set an admin password
2. as mySQL host: dockerized-deltasql_mariadb_1
3. as mySQL root password: 1234
4. as database user: root
5. as database password: 1234
Then click on Setup deltasql
As final step you need to persist the container configuration with:
docker commit dockerized-deltasql_php-apache_1
Find the newly created image with no name with
docker images
and tag it with
docker tag acbeebe28ee3 dockerized-deltasql_php-apache
check with
docker-compose down
and then with
docker-compose up
that deltasql configuration is persisted when visiting
http://localhost/deltasql
As final step you need to persist your docker network configuration as follows:
under /etc/default/docker
add following options to dockerd daemon:
DOCKER_OPTS="--bip=172.17.0.1/16 --dns=172.17.0.1"