Menu

Tree [2eb2a2] master / docker /
 History

HTTPS access


File Date Author Commit
 php-apache 2019-07-30 dangermaus dangermaus [819ab2] added scripts and instructions to dockerize del...
 README.txt 2019-07-30 dangermaus dangermaus [2d7724] additional info on configuration for dockerd
 dns-docker.sh 2019-07-30 dangermaus dangermaus [819ab2] added scripts and instructions to dockerize del...
 docker-compose.yml 2019-07-30 dangermaus dangermaus [819ab2] added scripts and instructions to dockerize del...
 findmariadbhost.sh 2019-07-30 dangermaus dangermaus [819ab2] added scripts and instructions to dockerize del...
 launch.sh 2019-07-30 dangermaus dangermaus [819ab2] added scripts and instructions to dockerize del...
 setup.sh 2019-07-30 dangermaus dangermaus [819ab2] added scripts and instructions to dockerize del...

Read Me

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"
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.