Dockerized Firebird SQL Server on OSX Apple Silicon (M1)
126
Dockerfile linkssysdbaThe default password for sysdba is randomly generated when you first launch the container,
look in the docker log for your container or check /firebird/etc/SYSDBA.password.
Alternatively you may pass the environment variable ISC_PASSWORD to set the default password.
This is a Firebird SQL Database container.
Username: SYSDBA
Password is either set by ISC_PASSWORD or randomized
TZTimeZone. (i.e. America/Chicago)
ISC_PASSWORDDefault sysdba user password, if left blank a random 20 character password will be set instead.
The password used will be placed in /firebird/etc/SYSDBA.password.
If a random password is generated then it will be in the log for the container.
FIREBIRD_DATABASEIf this is set then a database will be created with this name under the /firebird/data volume with the 'UTF8'
default character set and if FIREBIRD_USER is also set then FIREBIRD_USER will be given ownership.
FIREBIRD_USERThis user will be created and given ownership of FIREBIRD_DATABASE.
This variable is only used if FIREBIRD_DATABASE is also set.
FIREBIRD_PASSWORDThe password for FIREBIRD_USER, if left blank a random 20 character password will be set instead.
If a random password is generated then it will be in the log for the container.
EnableLegacyClientAuthIf this is set to true then when launching without an existing /firebird/etc folder this will cause the newly created firebird.conf to have the following defaults:
AuthServer = Legacy_Auth, Srp, Win_Sspi
AuthClient = Legacy_Auth, Srp, Win_Sspi
UserManager = Legacy_UserManager, Srp
WireCrypt = enabled
This will allow legacy clients to connect and authenticate.
EnableWireCryptIf this is set to true then when launching without an existing /firebird/etc folder this will cause the newly created firebird.conf to have
WireCrypt = enabled to allow compatibility with Jaybird 3
<VARIABLE>_FILEIf set to the path to a file then the named variable minus the _FILE portion will contain the contents of that file.
This is useful for using docker secrets to manage your password.
This applies to all variables except TZ
At the moment only the "Super Classic" and "Super Server" architectures are available.
Super Classic.
Super Server.
Classic Server.
/firebirdThis single volume supercedes all of the old volumes with most of the old volumes existing as subdirectories under /firebird
/firebird/dataDefault location to put database files
/firebird/systemsecurity database DIR
/firebird/etcconfig files DIR message files DIR
/firebird/loglog files DIR
For some users they may prefer to run the filesystem in read only mode for additional security. These volumes would need to be created rw in order to do this.
/var/firebird/runThis volume does not actually exist by default but you may want to create it if you wish to use a read only root filesystem
guardian lock DIR
/tmpThis volume does not actually exist by default but you may want to create it if you wish to use a read only root filesystem
Database lock directory
I have now added HEALTHCHECK support to the image. By default it uses nc to check port 3050.
If you would like it to perform a more thorough check then you can create /firebird/etc/docker-healthcheck.conf
If you add HC_USER HC_PASS and HC_DB to that file then the healthcheck will attempt a simple query against the specified database to determine server status.
Example docker-healthcheck.conf:
HC_USER=SYSDBA
HC_PASS=masterkey
HC_DB=employee.fdb
Please note for events to work properly you must either configure RemoteAuxPort and forward it with -p using a direct mapping where both sides internal and external use the same port or use --net=host to allow the random port mapping to work. see: http://www.firebirdfaq.org/faq53/ for more information on event port mapping.
Content type
Image
Digest
Size
62.3 MB
Last updated
almost 5 years ago
docker pull cesarmeloni/firebird:3.0.8