/firebird-2.5-cs-docker

Firebird 2.5 classic server Docker image.

Primary LanguageShell

Firebird 2.5.8 Classic Docker Image

To be used only for archeological purposes, and not to be considered secure in any way. Based on phusion/baseimage because I need something closer to a full init environment to make sure this works easily. Working is the goal, slimness is not.

Environment Variables

  • ISC_PASSWORD is required if you do not provide your own security2.fdb, and will be used to set the sysdba password on startup and create security2.fdb.
  • LIMIT_HOST_ACCESS_TO_VOLUME=true Set to "false" to allow container to run chmod and chown on data in /firebird. This is not a security feature; it is just to prevent the container messing with your files in a way that you don't want.

Persistent Storage

This image stores persistent data in /firebird. Databases (including security2.fdb) go in "/firebird/data", and logs go in "/firebird/log".

  • If these directories do not exist on container startup, they will be created.
  • Their permissions will always be reset on container startup to ensure firebird can read and write to them. TODO: add flag to disable?

Aliases

Aliases for all .fdb files /firebird/data are created automatically. For example, /firebird/data/mydb.fdb can be accessed at its full path, or as "mydb.fdb" or just "mydb".

Healthcheck

Healthcheck based on https://github.com/jacobalberty/firebird-docker. Configure a username, password, and database to check by exporting the following environment variables in /firebird/etc/docker-healthcheck.conf:

  • HC_USER
  • HC_PASS
  • HC_DB

Other Notes

Based on jacobalberty/firebird-docker and betonetotbo/docker-firebird-cs