mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-06-27 16:57:05 +00:00
80 lines
1.7 KiB
YAML
80 lines
1.7 KiB
YAML
# 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
|
|
|
|
nocodb:
|
|
container_name: nocodb
|
|
# environment:
|
|
# NC_DB: "mysql://mariadb:3306?u=root&p=example"
|
|
image: "nocodb/nocodb:latest"
|
|
ports:
|
|
- "8070:8080"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./nc_data:/usr/app/data
|
|
|
|
# https://github.com/sqlchat/sqlchat
|
|
# https://github.com/dominikhoebert/docker-projects/blob/master/sqlchat/compose.yml
|