Mercurial > dive4elements > river
annotate artifacts/doc/conf/seddb-db.xml @ 9803:a440ebd5c23b 3.2.x tip
Avoid using outdated mod_wsgi in Docker setup
Run Wiki in standalone mode behind reverse proxy, which is provided by
a more up-to-date Apache web server. The wiki container is still based
on CentOS 7, because the included SSO integration component cannot be
build with more recent libraries.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 21 Aug 2024 16:54:17 +0200 |
parents | 75dc4ea60938 |
children |
rev | line source |
---|---|
3093
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8" ?> |
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 <seddb-database> |
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3 <!-- This is the default SedDB db configuration. --> |
7787
eb65364040a8
Set useful DB connection configuration for demo installation.
Tom Gottfried <tom@intevation.de>
parents:
5838
diff
changeset
|
4 <user>seddb</user> |
eb65364040a8
Set useful DB connection configuration for demo installation.
Tom Gottfried <tom@intevation.de>
parents:
5838
diff
changeset
|
5 <password>seddb</password> |
3093
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
6 <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect> |
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
7 <driver>org.postgresql.Driver</driver> |
9790
75dc4ea60938
Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents:
9736
diff
changeset
|
8 <url>jdbc:postgresql://db:5432/seddb</url> |
8476
953acbb12cbc
Use portable validation queries.
Tom Gottfried <tom@intevation.de>
parents:
8474
diff
changeset
|
9 <validation-query>select 1 from gewaesser</validation-query> |
8485
026f4c684ee5
Make maxWait configurable and wait for 30 seconds
"Tom Gottfried <tom@intevation.de>"
parents:
8476
diff
changeset
|
10 <max-wait>30000</max-wait> |
5193
fb9dcc68b9c2
Possible fix for flys/1202. Initial SQL statements can now be issued at connection creation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
3093
diff
changeset
|
11 <!-- |
fb9dcc68b9c2
Possible fix for flys/1202. Initial SQL statements can now be issued at connection creation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
3093
diff
changeset
|
12 <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=SEDDB</connection-init-sqls> |
fb9dcc68b9c2
Possible fix for flys/1202. Initial SQL statements can now be issued at connection creation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
3093
diff
changeset
|
13 --> |
3093
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
14 </seddb-database> |