MariaDB including external module "sqliteonline.com"
1.6K
Soe - external module for accessing local and remote databases from SqliteOnline.com
SQL Editor, any database from any device.
This docker MariaDB including an external module "SOE" to make it much easier to run a ready set. (without creating a complex file: via docker stack deploy or docker-compose).
docker run --name soe-mariadb --rm -d -e MYSQL_ROOT_PASSWORD=my_secret_pw -e SOE_DB_ROOT=1 -p 8081:17321 sqliteonlinecom/soe-mariadbYou can check if the server settings are correct. http://localhost:8081/soe/test
Go to the SqliteOnline.com website and click the Owner DB button
Url http://localhost:8081/soe/ DB name mysqlLogin rootPassword my_secret_pwsoe_path path (default: soe)soe_body_size limit on request length (default: 2097152)soe_timeout session time limit in minutes (default: 15)soe_row_limit limit the number of lines, unlimited - 0 (experimental feature) (default: 100000)soe_login_allow allow access to the database, only users from the list, via "SOE" (example: user1,user2,user3)soe_login_deny block users from the list to access the database via "SOE" (example: user1,user2,user3)soe_db_root allow the user root to access the database through "SOE". allow - 1, deny - 0 (default: 0)docker exec soe-mariadb sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > /some/path/on/your/host/all-databases.sqldocker exec -i soe-mariadb sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /some/path/on/your/host/all-databases.sqlCreate a data directory on a suitable volume on your host system, e.g. /my/own/datadir.
docker run --name soe-mariadb -v /my/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my_secret_pw -e SOE_DB_ROOT=1 -p 8081:17321 -d sqliteonlinecom/soe-mariadbThe -v /my/own/datadir:/var/lib/mysql part of the command mounts the /my/own/datadir directory from the underlying host system as /var/lib/mysql inside the container, where MySQL by default will write its data files.
You can check if the server settings are correct. https://youdomain/soe/test
# replace nginx_path on you path name
location /soe/ {
gzip on;
gzip_comp_level 9;
gzip_types application/json;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:8081;
proxy_redirect off;
proxy_buffering off;
proxy_buffer_size 128k;
proxy_buffers 100 128k;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_next_upstream error timeout http_500 http_502 http_503 http_504;
proxy_connect_timeout 5s;
proxy_read_timeout 30s;
proxy_send_timeout 30s;
}
View license information for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Content type
Image
Digest
Size
121.6 MB
Last updated
over 5 years ago
docker pull sqliteonlinecom/soe-mariadb