Skip to content

Commit 5cca0d1

Browse files
committed
Adds guidance on Firebird Events and database aliases.
1 parent 79c8319 commit 5cca0d1

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,28 @@ Note that both the original variable and its `_FILE` variant are mutually exclus
182182

183183

184184

185+
## Using database aliases
186+
187+
To use database aliases, create your own `databases.conf` file and configure a [Docker bind mount](https://docs.docker.com/engine/storage/bind-mounts/) for it at `/opt/firebird/databases.conf`.
188+
189+
More information:
190+
- [Firebird Quick Start Guide](https://www.firebirdsql.org/file/documentation/html/en/firebirddocs/qsg3/firebird-3-quickstartguide.html#qsg3-config-security) (section "Use database aliases")
191+
192+
193+
194+
## Using Firebird Events
195+
196+
To use this image with [Firebird Events](https://firebirdsql.org/file/documentation/html/en/refdocs/fblangref50/firebird-50-language-reference.html#fblangref50-psql-postevent) you need to:
197+
- use `FIREBIRD_CONF_RemoteAuxPort` environment variable to set the value of `RemoteAuxPort` configuration to a specific port (e.g. 3051); and
198+
- [Publish](https://docs.docker.com/get-started/docker-concepts/running-containers/publishing-ports/) this port to the host.
199+
200+
More information:
201+
202+
- [This answer](https://stackoverflow.com/a/49918178/33244) from Mark Rotteveel at Stack Overflow.
203+
- [The Power of Firebird Events](https://www.firebirdsql.org/file/documentation/papers_presentations/Power_Firebird_events.pdf) from Milan Babuškov.
204+
205+
206+
185207
## Initializing the database contents
186208

187209
When creating a new database with `FIREBIRD_DATABASE` environment variable you can initialize it running one or more shell or SQL scripts.

src/README.md.template

+22
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,28 @@ Note that both the original variable and its `_FILE` variant are mutually exclus
128128

129129

130130

131+
## Using database aliases
132+
133+
To use database aliases, create your own `databases.conf` file and configure a [Docker bind mount](https://docs.docker.com/engine/storage/bind-mounts/) for it at `/opt/firebird/databases.conf`.
134+
135+
More information:
136+
- [Firebird Quick Start Guide](https://www.firebirdsql.org/file/documentation/html/en/firebirddocs/qsg3/firebird-3-quickstartguide.html#qsg3-config-security) (section "Use database aliases")
137+
138+
139+
140+
## Using Firebird Events
141+
142+
To use this image with [Firebird Events](https://firebirdsql.org/file/documentation/html/en/refdocs/fblangref50/firebird-50-language-reference.html#fblangref50-psql-postevent) you need to:
143+
- use `FIREBIRD_CONF_RemoteAuxPort` environment variable to set the value of `RemoteAuxPort` configuration to a specific port (e.g. 3051); and
144+
- [Publish](https://docs.docker.com/get-started/docker-concepts/running-containers/publishing-ports/) this port to the host.
145+
146+
More information:
147+
148+
- [This answer](https://stackoverflow.com/a/49918178/33244) from Mark Rotteveel at Stack Overflow.
149+
- [The Power of Firebird Events](https://www.firebirdsql.org/file/documentation/papers_presentations/Power_Firebird_events.pdf) from Milan Babuškov.
150+
151+
152+
131153
## Initializing the database contents
132154

133155
When creating a new database with `FIREBIRD_DATABASE` environment variable you can initialize it running one or more shell or SQL scripts.

0 commit comments

Comments
 (0)