You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/env-variables.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,15 @@ These variables are available only in Team Premium edition.
19
19
* STORAGE_PASSWORD - database password
20
20
* STORAGE_PORT - database port (optional. of omitted, default port for selected database engine is used)
21
21
* STORAGE_DATABASE - storage database name
22
+
* STORAGE_SCHEMA - storage database schema (optional, eg. for PostgreSQL (typically public) or MS SQL (typically dbo))
22
23
* STORAGE_ENGINE - engine used for storage database. Currectly, MySQL, PostgreSQL, SQL Server and Oracle. Use one of following values:
23
24
* mysql@dbgate-plugin-mysql
24
25
* postgres@dbgate-plugin-postgres
25
26
* mssql@dbgate-plugin-mssql
26
27
* oracle@dbgate-plugin-oracle
27
28
* ADMIN_PASSWORD - password for administrator. Administration is available on URL https://dbgate_url/admin.html. If password is not defined and STORAGE_DATABASE is defined, DbGate asks for admin password at first.
28
29
* DBGATE_LICENSE - license key for DbGate. Please contact sales@dbgate.eu for trial license. If not defined, DbGate Premium asks for license at first. DbGate Community doesn't require any license.
29
-
30
+
30
31
### Additional connection params of storage
31
32
* STORAGE_SOCKET_PATH - socket path for storage connection
32
33
* STORAGE_DATABASE_URL - database URL for storage connection
Copy file name to clipboardExpand all lines: content/installation/docker-tp.md
+46-6Lines changed: 46 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: Docker Team Premium
2
+
title: Team Premium on Docker
3
3
weight: 30
4
4
---
5
5
6
6
Typical Team Premium installation consists of two components:
7
7
- DbGate server docker container
8
-
- Database server (MS SQL, MySQL, PostgreSQL, Oracle) - internal storage database for connections, users and roles
8
+
- Database server (MS SQL, MySQL, PostgreSQL, Oracle) - internal storage database for connections, users and roles. You could use existing database server or install new one.
9
9
10
10
## DbGate Server Docker Container
11
11
User [DbGate Team Premium image](https://hub.docker.com/r/dbgate/dbgate-premium) from Docker Hub:
@@ -18,16 +18,56 @@ DbGate Team Premium container requires some environment variables to be set:
18
18
19
19
See [environment variables documentation](/env-variables/#team-premium-edition-configuration) for more details about available environment variables.
20
20
21
+
## Resource Requirements
22
+
21
23
In fact, DbGate Team Premium has very low resource consumption, but for best performance we recommend following configuration (for 10 concurrent users):
22
-
- Minimum 2 CPU cores
23
-
- Minimum 4 GB RAM
24
-
- Minimum 10 GB free disk space
24
+
- 2 CPU cores
25
+
- 4 GB RAM
26
+
- 10 GB free disk space (for temporary files, query results, etc. Actual disk space consumption depends on usage patterns)
27
+
28
+
For single-user installations, you could use much lower resource limits (1 GB RAM, 1 CPU core).
29
+
30
+
## Configuring docker
25
31
26
32
If you want to use disk files for storage of user files (like query results export), you should map `/root/.dbgate` path in container.
27
33
34
+
Below is example `docker-compose.yml` file, definiting DbGate Team Premium container with PostgreSQL as internal storage database.
35
+
- You could define `DBGATE_LICENSE` environment variable to set license key. If not set, DbGate will ask for license key on first start.
36
+
- You could define 'ADMIN_PASSWORD' environment variable to set admin user password. If not set, DbGate will ask for admin password on first start.
0 commit comments