added proxy network

updated services in readme
updated homepage
This commit is contained in:
Dominik
2024-07-30 15:53:31 +02:00
parent b2b9a66eba
commit 02ff5b23e7
41 changed files with 629 additions and 195 deletions

View File

@@ -1,38 +1,14 @@
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:
container_name: mysql8
image: mysql:8.0.21
command: --default-authentication-plugin=mysql_native_password
restart: always
@@ -44,38 +20,24 @@ services:
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
networks:
- proxy
cockroachdb:
container_name: 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
networks:
- proxy
# 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:
container_name: firebird
image: jacobalberty/firebird:v4.0.1
volumes:
- ./dev/docker_firebird:/docker_init
@@ -85,13 +47,22 @@ services:
- 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;'
networks:
- proxy
libsql:
container_name: 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
# - SQLD_NODE=primary
# volumes:
# - ./dev/docker_libsql:/var/lib/sqld
networks:
- proxy
networks:
proxy:
external: true