Sign inSign up
pgmodeler-cli logo

sunaoka/pgmodeler-cli

By sunaoka

•Updated 10 days ago

Run pgmodeler-cli without building or installing.

Image
Developer tools
Databases & storage
1

5.0K

sunaoka/pgmodeler-cli repository overview

⁠pgmodeler-cli Docker image

Run pgmodeler-cli without building or installing.

The 2.0.0 image contains pgModeler Community. Database import and model diff are exclusive to pgModeler Plus and are not available in this image. See the pgModeler 2.0.0 release notes⁠ for the differences between editions.

⁠Usage

docker run --rm -v $(pwd):/data sunaoka/pgmodeler-cli \
    --export-to-file \
    --input some.dbm \
    --output some.sql

⁠Language

Set LANGUAGE to choose a translation. For example, to show the help in Japanese:

docker run --rm -e LANGUAGE=ja sunaoka/pgmodeler-cli --help

⁠Usage (Overwriting Settings)

Copy the default configuration into a local directory and edit the files there:

mkdir -p config
docker run --rm --entrypoint tar sunaoka/pgmodeler-cli \
    -C /usr/local/share/pgmodeler/conf -cf - . | tar -xf - -C config

Set PGMODELER_CONF_PATH to use that directory. The directory is mounted as part of /data:

docker run --rm -v "$(pwd):/data" \
    -e PGMODELER_CONF_PATH=/data/config \
    sunaoka/pgmodeler-cli \
    --export-to-file \
    --input some.dbm \
    --output some.sql

⁠Tags

Older versions are available, please see the docker hub for available tags

⁠Source

https://github.com/sunaoka/docker-pgmodeler-cli⁠

Tag summary

Content type

Image

Digest

sha256:ba476c8e5…

Size

227.4 MB

Last updated

10 days ago

docker pull sunaoka/pgmodeler-cli