How to install
DbGate can be installed as native application on Windows, or can run as Docker container.
Install on Docker
At first, download and install Docker. If you are using Windows operating system (better than Home edition), you can use Docker for Windows - it uses Hyper-V virtualization, which is not available in Windows Home.
Simply run DbGate as docker container by typing following code:
docker run -it --name dbgate -v [path to data directory]:/var/opt/dbgate --restart always -p [port on host]:80 dbgate/dbgate
- Instead of
[path to data directory]
write path, when connections and other data of DbGate will be stored. If you omit this option, after recreating containers all settings will be removed - Instead of
[port on host]
write port, at which DbGate will be available
Install on Windows as application
You can use windows desktop application, installed view installer. Installation package is available here: dbgate-setup.exe.
Install on Windows as service
At first, download and unpack this package: dbgate-winservice.zip. Service is by default listening on port 5000. In root folder, there are 3 scripts:
runserver.cmd
- runs server from command line. If you simply run this file, server is started and browser window with DbGate is openedcreate-windows-service.cmd
- creates Windows service. This script must be run as administratorupdate-from-web.cmd
- downloads and installs new version of DbGate. This script must be run as administrator