mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-06-27 16:57:05 +00:00
added dbgate, databases
This commit is contained in:
parent
1535043253
commit
c4ad9fcace
7
.gitignore
vendored
7
.gitignore
vendored
@ -4,7 +4,7 @@ hortusfox-web/
|
||||
linkwarden/
|
||||
volumes/
|
||||
birdnet/
|
||||
mariadb-docker/mysql/
|
||||
mariadb/mysql/
|
||||
system-monitoring/influxdb/
|
||||
uptimekuma/uptime-kuma-data/
|
||||
home-assistant/homeassistant_config/
|
||||
@ -18,4 +18,7 @@ plex-radarr-transmission/radarr/
|
||||
plex-radarr-transmission/transmission/
|
||||
guacamole/config/
|
||||
myspeed/data/
|
||||
|
||||
postgres/data/
|
||||
postgres/dev/
|
||||
databases/dev/
|
||||
mariadb/dbgate-data/
|
||||
|
@ -46,12 +46,6 @@
|
||||
- netdata
|
||||
- demo: https://app.netdata.cloud/spaces/netdata-demo/rooms/all-nodes
|
||||
- stirlingpdf
|
||||
- mariadb-docker:
|
||||
- phpmyadmin https://hub.docker.com/_/phpmyadmin
|
||||
- https://github.com/sqlchat/sqlchat
|
||||
- https://github.com/beekeeper-studio/beekeeper-studio
|
||||
- https://dbgate.org/
|
||||
- https://github.com/clidey/whodb
|
||||
|
||||
### add to readme and homepage
|
||||
|
||||
@ -61,6 +55,9 @@
|
||||
- whodb
|
||||
- phpmyadmin
|
||||
- sqlchat
|
||||
- postgres15
|
||||
- dbgate
|
||||
- databases
|
||||
|
||||
|
||||
## Tools
|
||||
|
97
databases/compose.yml
Normal file
97
databases/compose.yml
Normal file
@ -0,0 +1,97 @@
|
||||
|
||||
name: databases
|
||||
|
||||
volumes:
|
||||
mysql:
|
||||
mysql8:
|
||||
psql96:
|
||||
psql13:
|
||||
cockroachdb:
|
||||
firebird:
|
||||
|
||||
services:
|
||||
psql13:
|
||||
image: postgres:13
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: example
|
||||
POSTGRES_DB: test
|
||||
volumes:
|
||||
- psql13:/var/lib/postgresql/data
|
||||
- ./dev/docker_psql_init:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- 5433:5432
|
||||
psql:
|
||||
image: postgres:9.6
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: example
|
||||
POSTGRES_DB: test
|
||||
volumes:
|
||||
- psql96:/var/lib/postgresql/data
|
||||
- ./dev/docker_psql_init:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- 5434:5432
|
||||
mysql8:
|
||||
image: mysql:8.0.21
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
MYSQL_DATABASE: test
|
||||
ports:
|
||||
- 3308:3306
|
||||
volumes:
|
||||
- mysql8:/var/lib/mysql
|
||||
- ./dev/docker_mysql_init:/docker-entrypoint-initdb.d
|
||||
mysql:
|
||||
image: mysql:5.7.22
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
MYSQL_DATABASE: test
|
||||
ports:
|
||||
- 3307:3306
|
||||
volumes:
|
||||
- mysql:/var/lib/mysql
|
||||
- ./dev/docker_mysql_init:/docker-entrypoint-initdb.d
|
||||
cockroachdb:
|
||||
image: cockroachdb/cockroach:v22.1.1
|
||||
volumes:
|
||||
- cockroachdb:/cockroach/cockroach-data
|
||||
ports:
|
||||
- 26257:26257
|
||||
command: start-single-node --insecure
|
||||
cassandra:
|
||||
image: cassandra:latest
|
||||
entrypoint: ["/docker-entrypoint.initdb.d/entry.sh"]
|
||||
ports:
|
||||
- 9042:9042
|
||||
volumes:
|
||||
- cassandra:/var/lib/cassandra
|
||||
- ./dev/docker_cassandra_init:/docker-entrypoint.initdb.d
|
||||
# use keyspace; describe tables; # get all the tables for a specific keyspace
|
||||
# select * from system_schema.keyspaces; # gets all keyspaces
|
||||
# https://www.folkstalk.com/2022/09/get-all-keyspaces-in-cassandra-with-code-examples.html
|
||||
# Create keyspace https://www.tutorialspoint.com/cassandra/cassandra_create_keyspace.htm
|
||||
firebird:
|
||||
image: jacobalberty/firebird:v4.0.1
|
||||
volumes:
|
||||
- ./dev/docker_firebird:/docker_init
|
||||
ports:
|
||||
- 3050:3050
|
||||
environment:
|
||||
- ISC_PASSWORD=masterkey
|
||||
- EnableLegacyClientAuth=true
|
||||
command: sh -c 'chmod +x /docker_init/entrypoint.sh; /docker_init/entrypoint.sh & /usr/local/firebird/docker-entrypoint.sh firebird;'
|
||||
libsql:
|
||||
image: ghcr.io/tursodatabase/libsql-server:latest
|
||||
platform: linux/amd64
|
||||
ports:
|
||||
- 8098:8080
|
||||
- 5001:5001
|
||||
# environment:
|
||||
# - SQLD_NODE=primary
|
||||
# volumes:
|
||||
# - ./dev/docker_libsql:/var/lib/sqld
|
@ -0,0 +1,8 @@
|
||||
{"pid":1,"caller":"connections","name":"main","connections":[{"_id":"***","engine":"mysql@dbgate-plugin-mysql","server":"***","user":"***","password":"***","port":"3306","useDatabaseUrl":false,"defaultDatabase":null,"singleDatabase":false,"displayName":"***","databases":null}],"level":30,"msg":"Using connections from ENV variables","time":1722180858521}
|
||||
{"pid":1,"caller":"useController","name":"main","level":30,"msg":"Calling init controller for controller /connections","time":1722180859013}
|
||||
{"pid":1,"caller":"useController","name":"main","level":30,"msg":"Calling init controller for controller /database-connections","time":1722180859017}
|
||||
{"pid":1,"caller":"useController","name":"main","level":30,"msg":"Calling init controller for controller /scheduler","time":1722180859022}
|
||||
{"pid":1,"caller":"directories","name":"main","level":30,"msg":"Creating directory /root/.dbgate/files","time":1722180859024}
|
||||
{"pid":1,"caller":"directories","name":"main","level":30,"msg":"Creating directory /root/.dbgate/run","time":1722180859028}
|
||||
{"pid":1,"caller":"main","name":"main","level":30,"msg":"DbGate API listening on port 3000 (docker build)","time":1722180859030}
|
||||
{"pid":1,"caller":"main","name":"main","level":30,"msg":"\nShutting down DbGate API server","time":1722180922242}
|
@ -47,5 +47,22 @@ services:
|
||||
- PMA_ARBITRARY=1
|
||||
- PMA_HOST=mariadb
|
||||
|
||||
# https://dbgate.org/
|
||||
dbgate:
|
||||
image: dbgate/dbgate
|
||||
container_name: dbgate
|
||||
ports:
|
||||
- 8084:3000
|
||||
volumes:
|
||||
- ./dbgate-data:/root/.dbgate
|
||||
environment:
|
||||
CONNECTIONS: con1
|
||||
LABEL_con1: MariaDB
|
||||
SERVER_con1: mariadb
|
||||
USER_con1: root
|
||||
PASSWORD_con1: example
|
||||
PORT_con1: 3306
|
||||
ENGINE_con1: mysql@dbgate-plugin-mysql
|
||||
|
||||
# https://github.com/sqlchat/sqlchat
|
||||
#
|
||||
# https://github.com/dominikhoebert/docker-projects/blob/master/sqlchat/compose.yml
|
14
postgres/compose.yml
Normal file
14
postgres/compose.yml
Normal file
@ -0,0 +1,14 @@
|
||||
name: postgres15
|
||||
|
||||
services:
|
||||
psql15:
|
||||
container_name: postgres15
|
||||
image: postgres:15
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: example
|
||||
volumes:
|
||||
- ./data:/var/lib/postgresql/data
|
||||
- ./dev/docker_psql_init:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- 5432:5432
|
Loading…
x
Reference in New Issue
Block a user