Skip to content

Commit db828cd

Browse files
committed
Documented that context.xml isn't used anymore
1 parent 887b98e commit db828cd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,15 @@ To enable a PostgreSQL JNDI resource, provide the following environment variable
171171

172172
In geoserver, you can then reference this JNDI resource using the name `java:comp/env/jdbc/postgres` (if using default).
173173

174+
Note: previously you could tweak the JNDI settings in a custom `context.xml` (see below), but its contents are now included in `server.xml`.
175+
176+
174177
## How to use custom (tomcat) configuration files
175178

176179
This image provides default (tomcat) configurations that are located in the `./config/` subdir.
177180

178-
* `context.xml` (see/compare JNDI feature from above)
179181
* `server.xml` (security hardened version by default)
182+
* ~context.xml~ (now included into `server.xml`, previously used for JNDI settings)
180183

181184
In case you want to fully overwrite such a config file, you can do so by mounting it to the `/opt/config_overrides/` directory of a container.
182185
The `startup.sh` script will then copy (and overwrite) these files to the catalina conf directory before starting tomcat.

0 commit comments

Comments
 (0)