databases folder that houses all sorts of types'o bases, created like this to make thew host system clean without running servers all the time.
using docker compose untill i learn a better way~!
-
TODO:
-
split this up into a readme for each db
- relational : DBeaver : https://dbeaver.io/
- Non Relational: Mongo Compass : https://www.mongodb.com/try/download/compass
How to connect ?:
a docker images management interface
connect to : localhost:900
and go from there
redis-cli -a < password u sat in docker-compose >
- dotnet:
"CacheSettings": {
"ConnectionString": "localhost:6379"
}
this is handy ~! "Server=localhost;Database=Master;User Id=sa;Password=PASSWORD; dotnet 7, u need to trust the connection "Server=localhost;Database=Master;User Id=sa;Password=PASSWORD; ;Trust Server Certificate=true;
"server=localhost:3306;user id=USERNAME;password=PASSWORD;persistsecurityinfo=True"
dotnet:
"Server=127.0.0.1;Port=5433;Database=DB <Can be Empty>
;User Id=User; Password=Password;"
dialect+driver://username:password@host:port/database
postgresql+psycopg2://admin:admin1234@localhost/fastlms
docker exec -it <CONTAINER NAME> psql -U <USERNAME>
in the container: mongo -> mongosh .
connection string:
mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]
mongodb://mongodbadmin:admin@localhost:27017 << with auth
mongodb://localhost:27017/ << without auth
docker exec -it < container name/id > /bin/bash
connection should be "http:localhost:< PORT>"
DataLake local-dev "LocalAzureConnection": "AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;DefaultEndpointsProtocol=http;BlobEndpoint=http://< CONTAINER NAME>:10000/devstoreaccount1;QueueEndpoint=http://< CONTAINER NAME>:10001/devstoreaccount1;TableEndpoint=http://< CONTAINER NAME>:10002/devstoreaccount1;"
- to be added lator
-
normal connection thru localhost:9092
-
if u wanna connect thru offsetexplorer do this:
- in the advanced tap add to bootstrap folders:
broker:9092, localhost:9092
echo -e "AIRFLOW_UID=$(id -u)" > .env
docker-compose up airflow-init
docker-compose up airflow-init
PROFIT !! @ http://localhost:8080/
https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html#setting-the-right-airflow-user
- username and password if not specified are
guest/guest
. - can be accessed @ localhost:15672 - which is the management dashboard
- https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver15#datadir
- https://hub.docker.com/r/aerospike/aerospike-server
- https://hub.docker.com/_/aerospike
- https://docs.aerospike.com/server/operations/install/docker-desktop
for future me: the db files are in g drive <3