docker-bits/lsio/mysql-workbench/docker-run.sh
2023-02-26 14:51:38 +00:00

17 lines
872 B
Bash

# [MySQL Workbench](https://www.mysql.com/products/workbench/) is a unified
# visual tool for database architects, developers, and DBAs. MySQL Workbench
# provides data modeling, SQL development, and comprehensive administration
# tools for server configuration, user administration, backup, and much more.
source ./.env
docker run -d \
--name=mysql-workbench \
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
-p 3000:3000 `# Mysql Workbench desktop gui.` \
-v ${BASEDIR:-/volume1/docker}/mysql-workbench/config:/config `# Users home directory in the container, stores program settings.` \
--cap-add="IPC_LOCK" \
--restart unless-stopped \
ghcr.io/linuxserver/mysql-workbench