An unmodified postgres-plv8 image that is initialized with the fhirbase data on first startup.
2.3K
fhirbaseA docker simple docker image created from the following ingredients:
PostgreSQL image with plv8 extension installedfhirbaseTogether, this creates a very specific, yet stable docker image suitable for all docker environments.
The command
$ docker pull dryfhir/fhirbase-postgres-plv8
downloads the image locally and you are ready to go. To start the image, you can use
$ docker run -d -v fhirbasevolume:/var/lib/postgresql/data --name postgres dryfhir/fhirbase-postgres-plv8
On first startup, the image will run all needed CREATE statements, which may take some time. During this time, the database is not available yet.
You can now use
$ docker run --name some-app --link postgres -d application-that-uses-postgres
to connect your app with the fhirbase image.
postgres and postgres-plv8 imagesfhirbase. That means that all functions and tables created with the initialization script are found in the fhirbase namespace and you should connect as that user.plv8 extension is activated for every connection by default. This may be seen as a security risk. however, since the purpose of this image is to use fhirbase, which needs plv8, this is a quality of life change for the developer.Tags are used to publish new version of the image with the latest fhirbase sql. For those releases, the latest clkao/postgres-plv8:9.4-x image is used.
If images with volumes of older fhirbase installations are started, there is currently no automigration. Instead you'll want to run the patch.sql file of newer releases to get you up to date. For that, you need to start up the image, then run
$ docker exec -i <container-id> /usr/lib/postgresql/9.4/bin/psql -U fhirbase fhirbase < <patchfile.sql>
Content type
Image
Digest
Size
109.5 MB
Last updated
about 10 years ago
docker pull dryfhir/fhirbase-postgres-plv8