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: docs/hop-dev-manual/modules/ROOT/pages/hopweb/developer-guide.adoc
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,11 @@ The main configuration of Hop is done through a single configuration file called
114
114
It is possible to set pass this standard Hop environment variable `HOP_CONFIG_FOLDER` to the docker container.
115
115
You can point it to a mounted volume for example:
116
116
117
-
`docker run -p 8080:8080 -v /host/path/to/config:/config -e HOP_CONFIG_FOLDER=/config hop-web`
117
+
`docker run -p 8080:8080 -v /host/path/to/config:/hop/config -e HOP_CONFIG_FOLDER=/hop/config hop-web`
118
+
119
+
Prefer a dedicated path such as `/hop/config` rather than `/config`.
120
+
The Hop Web image uses `/config` for an optional Tomcat `tomcat-users.xml` / `web.xml` overlay.
118
121
119
122
In the same way you can set the standard variable `HOP_AUDIT_FOLDER` to store GUI auditing and logging information.
123
+
124
+
For the operator-facing volume layout, Compose example, and upgrade procedure, see xref:tech-manual::hop-web-docker.adoc[Hop Web in Docker: persistence and upgrades].
Copy file name to clipboardExpand all lines: docs/hop-tech-manual/modules/ROOT/pages/docker-container.adoc
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,9 @@ It's a **Hop Docker image** supporting both **short-lived** and **long-lived** s
31
31
A short-lived setup executes a pipeline or workflow and stops right after.
32
32
A long-lived setup starts a Hop server and waits for work.
33
33
34
+
This page describes `apache/hop` (hop-run and Hop Server).
35
+
For the Hop Web GUI image (`apache/hop-web`), including which folders to persist across upgrades, see xref:hop-web-docker.adoc[Hop Web in Docker: persistence and upgrades].
36
+
34
37
== Operating system
35
38
36
39
The docker container runs a minimal Linux system called https://hub.docker.com/_/alpine[Alpine].
@@ -48,6 +51,7 @@ The Linux user used to execute in the container is `hop` and the group is `hop`
48
51
|```/files```
49
52
| This volume has read-write permissions for Linux user `hop`.
50
53
You can use it for example to mount a folder that contains the **hop and project config** as well as the **workflows and pipelines**.
54
+
Do not persist project files only under `/opt/hop`; that tree is replaced when you pull a new image.
51
55
52
56
|```/home/hop```
53
57
| The initial working directory location of the docker container.
@@ -70,6 +74,18 @@ Use one of: `None`, `Error`, `Minimal`, `Basic`, `Detailed`, `Debug` or `Rowleve
70
74
|`/opt/hop/hop.err.log`
71
75
| The file path to the Hop log file.
72
76
77
+
|```HOP_CONFIG_FOLDER```
78
+
|
79
+
| Folder that contains `hop-config.json` (project and environment registrations, GUI settings).
80
+
Leave unset to use the image default (`config/` under the Hop install).
81
+
Point this at a mounted volume if the configuration must survive replacing the container.
82
+
See xref:hop-web-docker.adoc[Hop Web in Docker] for the Hop Web layout; the same variable applies here.
83
+
84
+
|```HOP_AUDIT_FOLDER```
85
+
|
86
+
| Folder for GUI / execution audit data.
87
+
Point this at a mounted volume to keep it across container recreation.
88
+
73
89
|```HOP_PROJECT_NAME```
74
90
|
75
91
| Name of the Hop project to create in the container.
@@ -392,6 +408,7 @@ In this example, a project is created in the container and exposed in the Hop Py
392
408
393
409
NOTE: The option to run commands is available from Hop version 2.18.
394
410
411
+
[[DownloadingJDBCDrivers]]
395
412
== Downloading JDBC drivers
396
413
397
414
Apache Hop ships the JDBC drivers it is allowed to redistribute (PostgreSQL, MS SQL Server, Snowflake, ...). Drivers with a restricted license - Oracle, MySQL, MariaDB, IBM DB2 and others - are *not* bundled and have to be added to the `lib/jdbc` folder yourself.
0 commit comments