This image extends the official Postgres image and adds PL/Java with OpenJDK to allow you to implement store procedures in Java.
Check this post to see how deploy and configure the container.
services:
db:
image: adrianescutia/postgres11-pljava:1.6.2
restart: always
environment:
- POSTGRES_DB=ades
- POSTGRES_USER=ades
- POSTGRES_PASSWORD=supersecretpwd
adminer:
image: adminer
depends_on:
- db
restart: always
ports:
- 9000:8080
curl https://adrianescutia.github.io/adrianes/resources/postgres/pljava/setup.sql -o setup.sql
# Execute the SQL in the database container
#cat <sql-file> | docker exec -i <container-name> psql -U <user> -d <database>
cat ./setup.sql | docker exec -i pljava_db_1 psql -U ades -d ades
Content type
Image
Digest
Size
247.1 MB
Last updated
over 5 years ago
docker pull adrianescutia/postgres11-pljava:1.6.2