mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-10-11 00:56:17 +00:00
added dbgate, databases
This commit is contained in:
68
mariadb/compose.yml
Normal file
68
mariadb/compose.yml
Normal file
@@ -0,0 +1,68 @@
|
||||
# Use root/example as user/password credentials
|
||||
|
||||
name: mariadb
|
||||
|
||||
services:
|
||||
|
||||
mariadb:
|
||||
image: mariadb
|
||||
container_name: mariadb
|
||||
restart: always
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
MARIADB_ROOT_PASSWORD: example
|
||||
MARIADB_USER: example-user
|
||||
MARIADB_PASSWORD: my_cool_secret
|
||||
volumes:
|
||||
- ./mysql:/var/lib/mysql
|
||||
|
||||
# optionale web DB clients/IDEs
|
||||
|
||||
# https://www.adminer.org/
|
||||
# Server: mariadb
|
||||
adminer:
|
||||
image: adminer
|
||||
container_name: adminer
|
||||
ports:
|
||||
- 8081:8080
|
||||
|
||||
# https://github.com/clidey/whodb
|
||||
# Host Name: mariadb
|
||||
whodb:
|
||||
image: clidey/whodb
|
||||
container_name: whodb
|
||||
# volumes: # (optional for sqlite)
|
||||
# - ./sample.db:/db/sample.db
|
||||
ports:
|
||||
- "8082:8080"
|
||||
|
||||
# https://hub.docker.com/_/phpmyadmin
|
||||
phpmyadmin:
|
||||
image: phpmyadmin
|
||||
container_name: phpmyadmin
|
||||
ports:
|
||||
- 8083:80
|
||||
environment:
|
||||
- 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
|
Reference in New Issue
Block a user